Skip to content

Commit

Permalink
CI: test all template GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
horothesun committed Oct 15, 2023
1 parent 8659f77 commit 9017acd
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,10 @@ jobs:
uses: actionsflow/setup-act@v1

- name: GitHub workflows check
env:
ACT_PLATFORM: "ubuntu-latest=catthehacker/ubuntu:act-latest"
run: |
cd "${G8_PARAM_REPO_NAME}"
act --dryrun --platform "${ACT_PLATFORM}" -W ".github/workflows/ci.yml"
act --dryrun --platform "${ACT_PLATFORM}" -W ".github/workflows/ecr_cleanup.yml"
act --dryrun --platform "${ACT_PLATFORM}" -W ".github/workflows/manual_api_call.yml"
ls ".github/workflows" | \
xargs -n 1 -I ^ act --dryrun --platform "ubuntu-latest=catthehacker/ubuntu:act-latest" -W ".github/workflows/^"
scalafmt-check:
name: Scalafmt check
Expand Down

0 comments on commit 9017acd

Please sign in to comment.