commit 4162122500c5155aad6969bd5c31f3e00043e465 parent c45853486777b489adfaa03c2334836646fd09f4 Author: S Knutsen <samuel@knutsen.co> Date: Sat, 13 Jul 2024 15:19:25 +0100 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" ] + pull_request: + branches: [ "master" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose