Skip to content

chore(actions): bump codecov/codecov-action from 3.1.4 to 4.2.0 #122

chore(actions): bump codecov/codecov-action from 3.1.4 to 4.2.0

chore(actions): bump codecov/codecov-action from 3.1.4 to 4.2.0 #122

Workflow file for this run

# Based on https://github.com/actions-rs/meta/blob/master/recipes/quickstart.md
on: [push, pull_request]
name: Continuous Integration
jobs:
check:
name: Check
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
- 1.41.1
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install ${{ matrix.rust }} toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- name: Run cargo check
uses: actions-rs/cargo@v1
with:
command: check
test:
name: Test Suite
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
- 1.41.1
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install ${{ matrix.rust }} toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test
lints:
name: Lints
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
allowfailure:
- false
include:
- rust: 1.41.1
allowfailure: true
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install ${{ matrix.rust }} toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
components: rustfmt, clippy
- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Run cargo clippy
uses: actions-rs/cargo@v1
continue-on-error: ${{ matrix.allowfailure }}
with:
command: clippy
args: -- -D warnings