Skip to content

Commit

Permalink
Update and rename main.yml to foundry.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sakulstra authored Feb 11, 2025
1 parent 460c81e commit d2bd8bb
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 13 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/foundry.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# This action runs all common tooling for foundry repos
# It does not comment any results though.
# If you want to have comments on your repo, also install comment.yml
name: Test

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

on:
pull_request:
push:
branches: ["main"]

jobs:
lint:
uses: bgd-labs/github-workflows/.github/workflows/foundry-lint-prettier.yml@main
test:
uses: bgd-labs/github-workflows/.github/workflows/foundry-test.yml@main
secrets:
ALCHEMY_API_KEY: ${{ secrets.ALCHEMY_API_KEY }}
# only when the repo has zksync code
# test-zk:
# uses: bgd-labs/github-workflows/.github/workflows/foundry-test-zk.yml@main
13 changes: 0 additions & 13 deletions .github/workflows/main.yml

This file was deleted.

1 comment on commit d2bd8bb

@sakulstra
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No description provided.

Please sign in to comment.