Skip to content

Bump actions/checkout from 3.5.2 to 3.6.0 #47

Bump actions/checkout from 3.5.2 to 3.6.0

Bump actions/checkout from 3.5.2 to 3.6.0 #47

Workflow file for this run

name: CI
on: [push, pull_request]
permissions:
contents: read
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
rust: [stable, beta, nightly]
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- name: Install Rust ${{ matrix.rust }}
run: |
rustup self update
rustup update ${{ matrix.rust }}
rustup default ${{ matrix.rust }}
rustc -vV
- name: Run tests
run: cargo test
rustfmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- name: Install Rust Stable
run: |
rustup update stable
rustup default stable
rustup component add rustfmt
- name: Run rustfmt
run: cargo fmt -- --check