Skip to content

Upgrade actions/checkout to v4 #241

Upgrade actions/checkout to v4

Upgrade actions/checkout to v4 #241

Workflow file for this run

name: Rust
on:
push:
branches: ["v1"]
pull_request:
branches: ["v1"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose