diff options
| author | Matthieu <matthieu@matthieu-dev.xyz> | 2022-12-31 17:13:02 +0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-31 17:13:02 +0400 |
| commit | 8ac17692959917ebbbdbfe334e533cb214c96d4c (patch) | |
| tree | fde0ec426b5974b1b44c6c24946079e09195d4ee | |
| parent | 65652932f77ce194a10cbc8dd42f3064e2c1a132 (diff) | |
Create rust.yml
| -rw-r--r-- | .github/workflows/rust.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 0000000..31000a2 --- /dev/null +++ b/.github/workflows/rust.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@v3 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose |
