Skip to content

Commit

Permalink
Fix Go 1.20 CI build step (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shpota authored Jul 18, 2023
1 parent 1d90657 commit b002fb6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
name: build
on: [push]
on: [push, pull_request]
jobs:

test:
name: Build & Test
runs-on: ubuntu-latest
steps:
- name: Check out
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go 1.20
uses: actions/setup-go@v4
with:
go-version: 1.20
go-version: '1.20'
id: go
- name: Build
run: go build .
Expand All @@ -32,7 +32,7 @@ jobs:
matrix:
go: [ 1.11, 1.12, 1.13, 1.14, 1.15, 1.16, 1.17, 1.18, 1.19 ]
steps:
- name: Check out
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v4
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/verify-templates.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: verify-templates
on:
push:
pull_request:
schedule:
- cron: '0 14 * * *'
jobs:
Expand All @@ -19,7 +20,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20
go-version: '1.20'
- name: Generate application
run: go run main.go init --db ${{ matrix.db }} --frontend ${{ matrix.frontend }} app
- name: Start the application
Expand Down

0 comments on commit b002fb6

Please sign in to comment.