commit f6b8ae87ff1a954485a087a81fe1a2a1b2e8a327 parent 32086e4aee7e695d793bb1a5622f08e227ace127 Author: William Casarin <jb55@jb55.com> Date: Sat, 16 Dec 2023 22:28:27 -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