diff --git a/.github/workflows/build-counter.yml b/.github/workflows/build-counter.yml new file mode 100644 index 0000000..a6cc6ef --- /dev/null +++ b/.github/workflows/build-counter.yml @@ -0,0 +1,22 @@ +name: Rust + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Build Counter + run: cd counter && cargo odra build --verbose + - name: Run tests + run: cd counter && cargo odra test --verbose