Adding features to ipinfo to support Rustls #36
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 lints and tests | |
on: | |
pull_request: | |
branches: [ master ] | |
push: | |
branches: [ master ] | |
permissions: | |
contents: read | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run Clippy | |
env: | |
RUSTFLAGS: "-Dwarnings" | |
run: cargo clippy | |
- name: Check formatting | |
run: cargo fmt --check | |
- name: Build | |
run: cargo build --verbose | |
- name: Run tests | |
env: | |
IPINFO_TOKEN: ${{ secrets.IPINFO_TOKEN }} | |
run: cargo test --verbose |