Skip to content

Bump anyhow from 1.0.81 to 1.0.82 #416

Bump anyhow from 1.0.81 to 1.0.82

Bump anyhow from 1.0.81 to 1.0.82 #416

Workflow file for this run

name: CI
on:
pull_request:
paths:
- "src/**"
- "Cargo.lock"
push:
branches:
- main
paths:
- "src/**"
- "Cargo.lock"
jobs:
style:
name: Check Style
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: rustfmt,clippy
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
- name: cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
test:
name: Test
needs: [style]
runs-on: ubuntu-latest
strategy:
matrix:
build: [stable]
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust || 'stable' }}
override: true
- uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}-debug
- name: cargo build
uses: actions-rs/cargo@v1
with:
command: build
args: ${{ matrix.features }}
- name: cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: ${{ matrix.features }}