Update rust.yml

This commit is contained in:
Edgar 2022-11-09 10:47:57 +01:00 committed by GitHub
parent 2c4661fd3f
commit df706a3ffb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,9 +2,9 @@ name: Rust
on: on:
push: push:
branches: [ master ] branches: [ "master" ]
pull_request: pull_request:
branches: [ master ] branches: [ "master" ]
env: env:
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always
@ -15,6 +15,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Build - name: Build
run: cargo build --verbose run: cargo build --verbose
- name: Run tests
run: cargo test --verbose