Skip to content

Bump axum from 0.6.20 to 0.7.4 #133

Bump axum from 0.6.20 to 0.7.4

Bump axum from 0.6.20 to 0.7.4 #133

Workflow file for this run

name: Rust
on:
pull_request:
push:
branches:
- main
- master
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt, clippy
- uses: r7kamura/rust-problem-matchers@v1
- name: cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: cargo build
uses: actions-rs/cargo@v1
env:
SQLX_OFFLINE: 'true'
with:
command: build
- name: cargo clippy
uses: actions-rs/cargo@v1
env:
SQLX_OFFLINE: true
with:
command: clippy
args: -- -D warnings
- name: set up Docker
run: |
sudo apt-get update
sudo apt-get install -y docker-compose
- name: cargo test
uses: actions-rs/cargo@v1
env:
SQLX_OFFLINE: 'true'
with:
command: test