diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 91df7ac8c8..1ef2d2ad72 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,8 +33,7 @@ jobs: windows: name: Windows runs-on: windows-latest - needs: [lint-commit, check-code-formatting] - if: needs.lint-commit.result == 'success' && needs.check-code-formatting.result == 'success' + needs: [check-code-formatting] strategy: fail-fast: false matrix: @@ -78,8 +77,7 @@ jobs: windows-mingw: name: Windows (win32) using mingw runs-on: ubuntu-latest - needs: [lint-commit, check-code-formatting] - if: needs.lint-commit.result == 'success' && needs.check-code-formatting.result == 'success' + needs: [check-code-formatting] container: image: openrct2/openrct2-build:0.2.4-mingw steps: @@ -94,8 +92,7 @@ jobs: macos: name: macOS runs-on: macos-latest - needs: [lint-commit, check-code-formatting] - if: needs.lint-commit.result == 'success' && needs.check-code-formatting.result == 'success' + needs: [check-code-formatting] steps: - name: Checkout uses: actions/checkout@v1 @@ -124,8 +121,7 @@ jobs: linux-portable: name: Linux (x64, portable) runs-on: ubuntu-latest - needs: [lint-commit, check-code-formatting] - if: needs.lint-commit.result == 'success' && needs.check-code-formatting.result == 'success' + needs: [check-code-formatting] container: image: openrct2/openrct2-build:0.2.4-bionic steps: @@ -160,8 +156,7 @@ jobs: linux-portable-32: name: Linux (i686, portable) runs-on: ubuntu-latest - needs: [lint-commit, check-code-formatting] - if: needs.lint-commit.result == 'success' && needs.check-code-formatting.result == 'success' + needs: [check-code-formatting] container: image: openrct2/openrct2-build:0.2.4-bionic32 steps: @@ -201,8 +196,7 @@ jobs: linux-appimage: name: Linux (x64, AppImage) runs-on: ubuntu-latest - needs: [lint-commit, check-code-formatting] - if: needs.lint-commit.result == 'success' && needs.check-code-formatting.result == 'success' + needs: [check-code-formatting] container: image: openrct2/openrct2-build:0.2.4-bionic steps: @@ -224,8 +218,8 @@ jobs: path: artifacts linux-docker: name: Linux (docker) - needs: [lint-commit, check-code-formatting] - if: github.repository == 'OpenRCT2/OpenRCT2' && needs.lint-commit.result == 'success' && needs.check-code-formatting.result == 'success' + needs: [check-code-formatting] + if: github.repository == 'OpenRCT2/OpenRCT2' runs-on: ubuntu-latest steps: - name: Build image @@ -248,8 +242,7 @@ jobs: linux-clang: name: Linux (Debug, [http, network, OpenGL] disabled) using clang runs-on: ubuntu-latest - needs: [lint-commit, check-code-formatting] - if: needs.lint-commit.result == 'success' && needs.check-code-formatting.result == 'success' + needs: [check-code-formatting] container: image: openrct2/openrct2-build:0.2.4-bionic steps: @@ -261,8 +254,7 @@ jobs: android: name: Android runs-on: ubuntu-latest - needs: [lint-commit, check-code-formatting] - if: needs.lint-commit.result == 'success' && needs.check-code-formatting.result == 'success' + needs: [check-code-formatting] container: image: openrct2/openrct2-build:0.2.4-android steps: