Skip to content

Bump codecov/codecov-action from 4 to 5 #12

Bump codecov/codecov-action from 4 to 5

Bump codecov/codecov-action from 4 to 5 #12

Workflow file for this run

name: Lint
on:
push:
branches: [main]
paths:
- '.github/**/*'
- '**.rs'
- 'Cargo.toml'
pull_request:
branches: [main]
paths:
- '.github/**/*'
- '**.rs'
- 'Cargo.toml'
jobs:
test:
name: Tests on ${{ matrix.os }} for ${{ matrix.toolchain }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
toolchain: [stable]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.toolchain }}
override: true
components: rustfmt, clippy
- name: cargo build
uses: actions-rs/cargo@v1
with:
command: build
- name: cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings