Skip to content

Commit

Permalink
fix: ci doesn't run contribs on gno update
Browse files Browse the repository at this point in the history
Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
  • Loading branch information
gfanton committed Jun 21, 2024
1 parent ea1ff3f commit de993dd
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: ${{ inputs.go-version }}

- name: Checkout code
uses: actions/checkout@v4

- name: Check generated files are up to date
working-directory: ${{ inputs.modulepath }}
run: |
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/contribs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ on:
paths:
- "contribs/**"
- ".github/**"
# Contribs directly depend on gno, so we need to test it whenever changes
# are made to one of those
- "go.*" # check on go.mod/sum update
- "gno.land/**"
- "tm2/**.go"
- "gnovm/**.go"

jobs:
setup:
Expand All @@ -30,4 +36,4 @@ jobs:
with:
modulepath: contribs/${{ matrix.program }}
secrets:
codecov-token: ${{ secrets.CODECOV_TOKEN }}
codecov-token: ${{ secrets.CODECOV_TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/gnoland.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
- "gno.land/**"
- "tm2/**.go"
- "gnovm/**.go"
- "go.*" # check on go.mod/sum update
- ".github/**"

jobs:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/gnovm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
pull_request:
paths:
- "gnovm/**"
- "go.*" # check on go.mod/sum update
- ".github/**"

jobs:
Expand All @@ -17,4 +18,4 @@ jobs:
with:
modulepath: "gnovm"
secrets:
codecov-token: ${{ secrets.CODECOV_TOKEN }}
codecov-token: ${{ secrets.CODECOV_TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/tm2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
pull_request:
paths:
- "tm2/**"
- "go.*" # check on go.mod/sum update
- ".github/**"

jobs:
Expand Down

0 comments on commit de993dd

Please sign in to comment.