Merge pull request #11 from netwo-io/fix-query-parameter-required #28
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: netwopenapi deny | |
on: | |
pull_request: | |
branches: [ main ] | |
paths: | |
- "**.rs" | |
- "**Cargo.toml" | |
push: | |
branches: | |
- main | |
paths: | |
- "**.rs" | |
- "**Cargo.toml" | |
workflow_dispatch: | |
env: | |
CARGO_TERM_COLOR: always | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
target/ | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
- name: Check deny | |
run: | | |
cargo install cargo-deny --force | |
cargo deny check licenses sources advisories |