Merge pull request #12146 from tupaschoal/fix-12144

Fix #12144: Do not require lint commit to pass to run full CI
This commit is contained in:
Michael Steenbeek 2020-07-06 20:28:27 +02:00 committed by GitHub
commit 1a373e115a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 18 deletions

View File

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