Skip to content

CI: Update actions/checkout to v4 (#120) #46

CI: Update actions/checkout to v4 (#120)

CI: Update actions/checkout to v4 (#120) #46

Workflow file for this run

name: CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build_and_test:
runs-on: ubuntu-22.04
container: rust:1.60
steps:
- uses: actions/checkout@v4
- run: cargo build
- run: cargo test
lint:
runs-on: ubuntu-22.04
container: rust:1.78
steps:
- uses: actions/checkout@v4
- run: rustup component add clippy
- run: cargo clippy --all-targets --all-features -- -D warnings
fmt:
runs-on: ubuntu-22.04
container: rust:1.78
steps:
- uses: actions/checkout@v4
- run: rustup component add rustfmt
- run: cargo fmt -- --check