commit 5e184e2b53766a84f1d5486bd26055d3c23321c5 parent 05bbb8eba3b6c4da6272c2c9331ec90757e22ed6 Author: William Casarin <jb55@jb55.com> Date: Thu, 14 Dec 2023 19:14:40 -0800 Create rust.yml Diffstat:
A | .github/workflows/rust.yml | | | 22 | ++++++++++++++++++++++ |
1 file changed, 22 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml @@ -0,0 +1,22 @@ +name: Rust + +on: + push: + branches: [ "master", "ci" ] + pull_request: + branches: [ "master" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose