ci: run fmt unconditionally (#3888)

This commit is contained in:
David Hewitt 2024-02-23 08:16:37 +00:00 committed by GitHub
parent 0f92b670b2
commit 9186da3892
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,7 +18,6 @@ env:
jobs: jobs:
fmt: fmt:
if: github.ref != 'refs/heads/main'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -383,6 +382,7 @@ jobs:
emscripten: emscripten:
name: emscripten name: emscripten
if: ${{ contains(github.event.pull_request.labels.*.name, 'CI-build-full') || github.event_name != 'pull_request' }} if: ${{ contains(github.event.pull_request.labels.*.name, 'CI-build-full') || github.event_name != 'pull_request' }}
needs: [fmt]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4