Skip to content

chore: update pull request action #9

chore: update pull request action

chore: update pull request action #9

Workflow file for this run

name: Pull Request
on: [pull_request]
jobs:
actions:
strategy:
matrix:
command: [ "cargo build", "cargo test", "cargo clippy -- -D warnings" ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- uses: dtolnay/rust-toolchain@stable
- run: ${{ matrix.command }}