Release actix-middleware-etag v0.4.0 #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
CI: 1 | |
CARGO_INCREMENTAL: 0 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: 1.63.0-x86_64-unknown-linux-gnu | |
profile: minimal | |
override: true | |
- name: Generate Cargo.lock | |
uses: actions-rs/cargo@v1 | |
with: { command: generate-lockfile } | |
- name: Cache Dependencies | |
uses: Swatinem/rust-cache@v2 | |
- name: Test | |
timeout-minutes: 10 | |
run: | | |
cargo test | |
- name: Clear the cargo caches | |
run: | | |
cargo install cargo-cache --version 0.8.2 --no-default-features --features ci-autoclean | |
cargo-cache |