Skip to content

Commit

Permalink
Update build pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Piszmog committed Apr 7, 2024
1 parent 8339f10 commit 6d264da
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,27 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: 1.22.x
- run: go mod download
- run: go install github.com/a-h/templ/cmd/[email protected].543
- run: go install github.com/a-h/templ/cmd/[email protected].648
- run: make generate-templ
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54
skip-pkg-cache: true
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: 1.22.x
- run: go mod download
- run: go install github.com/a-h/templ/cmd/[email protected].543
- run: go install github.com/a-h/templ/cmd/[email protected].648
- run: make generate-templ
- name: Test
run: go test -race ./...
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version: 1.22.x
- run: go mod download
- run: go install github.com/a-h/templ/cmd/[email protected].543
- run: go install github.com/a-h/templ/cmd/[email protected].648
- name: Generate Templ Files
run: make generate-templ
- name: Generate CSS
Expand Down

0 comments on commit 6d264da

Please sign in to comment.