summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/rustfmt.yml
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2025-09-14 16:46:40 +0200
committerDavid Lönnhager <david.l@mullvad.net>2025-09-18 14:03:47 +0200
commitd9aadd756173fcb2d613419050733d07fbecdc1e (patch)
treead26122bc54e64ebdfb7a2cccfda3809fee2e169 /.github/workflows/rustfmt.yml
parent5b7d13731b4e7d38ae060dc3948b979237974ff7 (diff)
downloadmullvadvpn-d9aadd756173fcb2d613419050733d07fbecdc1e.tar.xz
mullvadvpn-d9aadd756173fcb2d613419050733d07fbecdc1e.zip
Create custom action for Mullvad build env
Diffstat (limited to '.github/workflows/rustfmt.yml')
-rw-r--r--.github/workflows/rustfmt.yml9
1 files changed, 3 insertions, 6 deletions
diff --git a/.github/workflows/rustfmt.yml b/.github/workflows/rustfmt.yml
index 381280c2c4..efcbfb7838 100644
--- a/.github/workflows/rustfmt.yml
+++ b/.github/workflows/rustfmt.yml
@@ -17,12 +17,9 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- - name: Checkout wireguard-go submodule
- run: git submodule update --init --depth=1 wireguard-go-rs
-
- - name: Install Rust components
- shell: bash
- run: rustup component add rustfmt
+ - uses: ./.github/actions/mullvad-build-env
+ with:
+ rustup-components: rustfmt
- name: Check formatting
run: |-