Fix #12144: Do not require lint commit to pass to run full CI

This commit is contained in:
Tulio Leao 2020-07-06 13:40:27 -03:00
parent f7b42a0254
commit e512f26485
1 changed files with 18 additions and 18 deletions

View File

@ -33,8 +33,8 @@ 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]
if: needs.check-code-formatting.result == 'success'
strategy:
fail-fast: false
matrix:
@ -78,8 +78,8 @@ 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]
if: needs.check-code-formatting.result == 'success'
container:
image: openrct2/openrct2-build:0.2.4-mingw
steps:
@ -94,8 +94,8 @@ 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]
if: needs.check-code-formatting.result == 'success'
steps:
- name: Checkout
uses: actions/checkout@v1
@ -124,8 +124,8 @@ 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]
if: needs.check-code-formatting.result == 'success'
container:
image: openrct2/openrct2-build:0.2.4-bionic
steps:
@ -160,8 +160,8 @@ 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]
if: needs.check-code-formatting.result == 'success'
container:
image: openrct2/openrct2-build:0.2.4-bionic32
steps:
@ -201,8 +201,8 @@ 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]
if: needs.check-code-formatting.result == 'success'
container:
image: openrct2/openrct2-build:0.2.4-bionic
steps:
@ -224,8 +224,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' && needs.check-code-formatting.result == 'success'
runs-on: ubuntu-latest
steps:
- name: Build image
@ -248,8 +248,8 @@ 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]
if: needs.check-code-formatting.result == 'success'
container:
image: openrct2/openrct2-build:0.2.4-bionic
steps:
@ -261,8 +261,8 @@ 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]
if: needs.check-code-formatting.result == 'success'
container:
image: openrct2/openrct2-build:0.2.4-android
steps: