Skip to content

fix: use 301 & 302 instead of 307 & 308 (#71) #175

fix: use 301 & 302 instead of 307 & 308 (#71)

fix: use 301 & 302 instead of 307 & 308 (#71) #175

Workflow file for this run

on:
push:
branches:
- master
pull_request:
branches:
- master
name: Test
jobs:
test:
name: Lint and Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
name: Checkout 🛎️
- uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- uses: actions-rs/toolchain@v1
name: Setup Cargo Toolchain 🛎️
with:
components: rustfmt, clippy
toolchain: stable
default: true
- uses: actions-rs/cargo@v1
name: Check Code Format 🔧
with:
command: fmt
args: -- --check
- uses: actions-rs/cargo@v1
name: Compile all targets 🚀
with:
command: check
args: --workspace
- uses: actions-rs/cargo@v1
name: Running Tests 🚀
with:
command: test
args: --workspace