Merge pull request #953 from rustsec/bump-deps #1045
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: admin | |
on: | |
pull_request: | |
paths: | |
- ".github/workflows/admin.yml" | |
- "admin/**" | |
- "rustsec/**" | |
- "Cargo.*" | |
push: | |
branches: main | |
defaults: | |
run: | |
working-directory: cargo-audit | |
env: | |
RUSTFLAGS: -D warnings | |
RUSTDOCFLAGS: -D warnings | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
- uses: Swatinem/rust-cache@v2 | |
- run: cargo test | |
# build the website | |
- run: cargo run -- web | |
working-directory: admin |