Fix license check #314
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: Rust | |
on: [push, pull_request] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test: | |
name: Test and lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Install Rust | |
uses: dtolnay/[email protected] | |
with: | |
components: clippy | |
- name: Run cargo-deny | |
uses: EmbarkStudios/cargo-deny-action@v1 | |
- run: cargo clippy -- -W clippy::pedantic | |
- run: cargo test | |
- run: WASTEBIN_BASE_URL="http://127.0.0.1:8080/wastebin" cargo test # port is not relevant |