Log max expiration time at startup #317
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@v4 | |
- name: Install Rust | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
components: clippy | |
- name: Run cargo-deny | |
uses: EmbarkStudios/cargo-deny-action@v1 | |
- run: cargo clippy -- -W clippy::pedantic | |
- run: cargo fmt --all --check | |
- run: cargo test --all-targets | |
- run: WASTEBIN_BASE_URL="http://127.0.0.1:8080/wastebin" cargo test # port is not relevant | |
spaces-check: | |
name: Spaces Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Spaces check | |
run: git diff-tree --check $(git hash-object -t tree /dev/null) HEAD |