Skip to content

Bump actions/checkout from 2 to 5 #36

Bump actions/checkout from 2 to 5

Bump actions/checkout from 2 to 5 #36

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
style:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Install rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt
default: true
- name: cargo fmt -- --check
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Install rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt
default: true
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Install rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt
default: true
- name: cargo audit
uses: actions-rs/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}