Refactor address cache in mullvad-api #1114
Workflow file for this run
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
# Run `cargo fmt --check` on the `test` workspace | |
--- | |
name: DES Testframework - Check formatting | |
on: | |
pull_request: | |
paths: | |
- 'test/**/*.rs' | |
- .github/workflows/rustfmt-test.yml | |
- rustfmt.toml | |
workflow_dispatch: | |
permissions: {} | |
jobs: | |
check-formatting-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install Rust | |
uses: actions-rs/[email protected] | |
with: | |
toolchain: stable | |
components: rustfmt | |
default: true | |
- name: Check formatting | |
working-directory: test | |
run: |- | |
rustfmt --version | |
cargo fmt -- --check |