Skip to content

Bump axum from 0.6.20 to 0.7.4 #59

Bump axum from 0.6.20 to 0.7.4

Bump axum from 0.6.20 to 0.7.4 #59

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.65.0 # msrv
- stable
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v3
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
key: cargo
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo build
test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.65.0 # msrv
- stable
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v3
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
key: cargo
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: cargo test --release
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v3
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
key: cargo
- uses: actions-rs/toolchain@v1
with:
profile: default
toolchain: nightly
override: true
- run: cargo clippy
- run: cargo fmt --all -- --check