Skip to content

Commit

Permalink
Enable rustfmt in CI; use ubuntu-20.04
Browse files Browse the repository at this point in the history
  • Loading branch information
Bromeon committed Dec 12, 2022
1 parent 5f44906 commit 4e72546
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/minimal-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,17 @@ defaults:
# cancel-in-progress: true

jobs:
# rustfmt:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - name: "Install Rust"
# uses: ./.github/composite/rust
# with:
# rust: stable
# components: rustfmt
# - name: "Check rustfmt"
# run: cargo fmt --all -- --check
rustfmt:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: "Install Rust"
uses: ./.github/composite/rust
with:
rust: stable
components: rustfmt
- name: "Check rustfmt"
run: cargo fmt --all -- --check

unit-test:
name: test (${{ matrix.name }})
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:
#godot_ver: ${{ matrix.godot }}

license-guard:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
if: github.ref != 'refs/heads/master'
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 4e72546

Please sign in to comment.