Skip to content

Commit 2634e4d

Browse files
committed
Enable rustfmt in CI; use ubuntu-20.04
1 parent dbb2059 commit 2634e4d

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/minimal-ci.yml

+12-12
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,17 @@ defaults:
3838
# cancel-in-progress: true
3939

4040
jobs:
41-
# rustfmt:
42-
# runs-on: ubuntu-latest
43-
# steps:
44-
# - uses: actions/checkout@v3
45-
# - name: "Install Rust"
46-
# uses: ./.github/composite/rust
47-
# with:
48-
# rust: stable
49-
# components: rustfmt
50-
# - name: "Check rustfmt"
51-
# run: cargo fmt --all -- --check
41+
rustfmt:
42+
runs-on: ubuntu-20.04
43+
steps:
44+
- uses: actions/checkout@v3
45+
- name: "Install Rust"
46+
uses: ./.github/composite/rust
47+
with:
48+
rust: stable
49+
components: rustfmt
50+
- name: "Check rustfmt"
51+
run: cargo fmt --all -- --check
5252

5353
unit-test:
5454
name: test (${{ matrix.name }})
@@ -142,7 +142,7 @@ jobs:
142142
#godot_ver: ${{ matrix.godot }}
143143

144144
license-guard:
145-
runs-on: ubuntu-latest
145+
runs-on: ubuntu-20.04
146146
if: github.ref != 'refs/heads/master'
147147
steps:
148148
- uses: actions/checkout@v3

0 commit comments

Comments
 (0)