diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2023-01-24 09:02:23 +0100 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2023-01-24 09:02:23 +0100 |
| commit | 1ba20f4ed129377457db7c79ff5ec0133921afba (patch) | |
| tree | 6c4628d6985ebb4dff5214913717f7032ee1477a /.github/workflows | |
| parent | 55641479e0fbee227f12b6ef7d32df455d8f69e1 (diff) | |
| parent | 9345200ae58b8143c760e88fba333e9ef6ba1f37 (diff) | |
| download | mullvadvpn-1ba20f4ed129377457db7c79ff5ec0133921afba.tar.xz mullvadvpn-1ba20f4ed129377457db7c79ff5ec0133921afba.zip | |
Merge branch 'rustfmt-on-stable'
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/rustfmt.yml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/.github/workflows/rustfmt.yml b/.github/workflows/rustfmt.yml index 0ae5673aa5..456653dd38 100644 --- a/.github/workflows/rustfmt.yml +++ b/.github/workflows/rustfmt.yml @@ -7,23 +7,21 @@ on: - rustfmt.toml - '**/*.rs' workflow_dispatch: -env: - RUST_NIGHTLY_TOOLCHAIN: nightly-2023-01-13 jobs: check-formatting: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install nightly Rust uses: actions-rs/toolchain@v1.0.6 with: - toolchain: ${{ env.RUST_NIGHTLY_TOOLCHAIN }} + toolchain: stable components: rustfmt default: true - name: Check formatting run: |- rustfmt --version - cargo fmt -- --check --unstable-features + cargo fmt -- --check |
