Skip to content

Commit

Permalink
change workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Werner authored and Dennis Werner committed Jun 27, 2024
1 parent 52bbc15 commit e66aeae
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
# * is a special character in YAML so you have to quote this string
- cron: "30 17 * * SUN"

workflow_run:
workflows: ["Test"]
types:
- completed

jobs:
build:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: stable
- name: Install templ
run: go install github.com/a-h/templ/cmd/templ@latest
- name: Build templ
run: templ generate .
- name: golang-lint
uses: golangci/golangci-lint-action@v6
with:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
name: Test

on:
push:
pull_request:
branches: ["main"]
workflow_run:
workflows: ["Lint"]
types:
- completed

jobs:
test:
Expand Down

0 comments on commit e66aeae

Please sign in to comment.