From 8f894bccb7d0a6492cfde3960e867c938585ead8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Beamonte?= Date: Thu, 22 Jun 2023 20:39:08 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Add=20rust=20basic=20buuild=20on?= =?UTF-8?q?=20push?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yaml | 2 +- .github/workflows/tests.yaml | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/tests.yaml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ebb3fcdc..4f0113c3 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -103,5 +103,5 @@ jobs: uses: peter-evans/repository-dispatch@v2 with: token: ${{ secrets.REPOSITORY_DISPATCH_TOKEN }} - repository: XaF/homebrew-test + repository: XaF/homebrew-omni event-type: update-formulae diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml new file mode 100644 index 00000000..94de56ec --- /dev/null +++ b/.github/workflows/tests.yaml @@ -0,0 +1,28 @@ +name: Continuous testing + +on: + push: + branches: + - rust + pull_request: + branches: + - rust + +env: + CARGO_TERM_COLOR: always + +jobs: + tests: + name: Run tests + + runs-on: ubuntu-latest + + steps: + - name: Checkout current commit + uses: actions/checkout@v3 + + - name: Build + run: cargo build --verbose + + - name: Run tests + run: cargo test --verbose