From 646b56dc9d29f1286db665fecb40fb111041cf46 Mon Sep 17 00:00:00 2001 From: DottoDev <37108907+DottoDev@users.noreply.github.com> Date: Mon, 10 Oct 2022 20:59:07 +0000 Subject: [PATCH] Add rust ubuntu runner (#16) * Update issue templates * Create rust-ubuntu.yml Added plain Github Action Runner for ubuntu --- .github/ISSUE_TEMPLATE/bug_report.md | 5 ++++- .github/ISSUE_TEMPLATE/feature_request.md | 5 ++++- .github/workflows/rust-ubuntu.yml | 24 +++++++++++++++++++++++ 3 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/rust-ubuntu.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index da49501a..1ea4de5a 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,7 +1,10 @@ --- name: Bug report about: Topgrade is misbehaving -labels: is:bug +title: '' +labels: '' +assignees: '' + --- diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 6bbd46d6..94f39e57 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -1,7 +1,10 @@ --- name: Feature request about: Can you please support...? -labels: is:new +title: '' +labels: '' +assignees: '' + --- ## I want to suggest a new step diff --git a/.github/workflows/rust-ubuntu.yml b/.github/workflows/rust-ubuntu.yml new file mode 100644 index 00000000..18bcd0ae --- /dev/null +++ b/.github/workflows/rust-ubuntu.yml @@ -0,0 +1,24 @@ +name: Rust + +on: + push: + branches: [ "master", "dev" ] + pull_request: + branches: [ "master", "dev" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Build + run: cargo build --verbose + - name: Fmt + run: cargo fmt --check --all + - name: Run tests + run: cargo test --verbose