Skip to content

Bump github actions checkout to v4 to avoid the future node problems. #108

Bump github actions checkout to v4 to avoid the future node problems.

Bump github actions checkout to v4 to avoid the future node problems. #108

Workflow file for this run

name: Rust Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup toolchain install stable --profile minimal
- uses: Swatinem/rust-cache@v2
with:
prefix-key: "main"
save-if: ${{ github.ref == 'refs/heads/main' }}
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose