generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e166171
commit 9220f14
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -267,8 +267,19 @@ jobs: | |
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
- name: Check if Docker Required | ||
id: check-docker | ||
run: | | ||
Check failure on line 272 in .github/workflows/ci.yml GitHub Actions / Lint
|
||
result="$(git grep -E '//ftl:subscribe|DefaultPostgresDatabaseConfig|DefaultMySQLDatabaseConfig' -- "$(git grep -l '^//go:build integration' | xargs grep -l '^func ${{ matrix.test }}' | xargs -I {} dirname ./{})/testdata" || true)" | ||
if [ -z "$result" ]; then | ||
echo "docker_req=false" >> $GITHUB_ENV | ||
else | ||
echo "docker_req=true" >> $GITHUB_ENV | ||
fi | ||
- name: Build Cache | ||
uses: ./.github/actions/build-cache | ||
with: | ||
docker: ${{ env.result != ''}} | ||
- name: Init Hermit | ||
uses: cashapp/[email protected] | ||
- name: Docker Compose | ||
|