Skip to content

Commit

Permalink
ci: improve build-test-lint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-sa committed Sep 13, 2023
1 parent 961e101 commit 6b29020
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build-test-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ permissions:
id-token: write

jobs:
print-affected:
print-affected-test:
uses: ./.github/workflows/print-affected.yml
secrets: inherit
with:
target: test

build:
runs-on: buildjet-2vcpu-ubuntu-2004
Expand Down Expand Up @@ -63,7 +65,7 @@ jobs:
if: contains(needs.print-affected.outputs.projects, 'sqlite')
runs-on: buildjet-2vcpu-ubuntu-2004
needs:
- print-affected
- print-affected-test
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -81,7 +83,7 @@ jobs:
if: contains(needs.print-affected.outputs.projects, 'mongo')
runs-on: buildjet-2vcpu-ubuntu-2004
needs:
- print-affected
- print-affected-test
strategy:
matrix:
mongo-version:
Expand Down Expand Up @@ -123,7 +125,7 @@ jobs:
if: contains(needs.print-affected.outputs.projects, 'mysql')
runs-on: buildjet-2vcpu-ubuntu-2004
needs:
- print-affected
- print-affected-test
strategy:
matrix:
mysql-version:
Expand Down Expand Up @@ -155,7 +157,7 @@ jobs:
if: contains(needs.print-affected.outputs.projects, 'postgres')
runs-on: buildjet-2vcpu-ubuntu-2004
needs:
- print-affected
- print-affected-test
strategy:
matrix:
postgres-version:
Expand Down

0 comments on commit 6b29020

Please sign in to comment.