Skip to content

Commit

Permalink
chore: update go to 1.18
Browse files Browse the repository at this point in the history
  • Loading branch information
christophwitzko committed May 22, 2022
1 parent 34188b2 commit 95a4639
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: golangci/golangci-lint-action@v2
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.18
- uses: golangci/golangci-lint-action@v3
build:
runs-on: ${{ matrix.os }}
needs: lint
Expand All @@ -20,20 +23,20 @@ jobs:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.17
go-version: 1.18
- run: go build ./cmd/changelog-generator-default/
- run: go test -v ./...
release:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.17
go-version: 1.18
- run: |
go install github.com/mitchellh/gox@latest
go install github.com/tcnksm/ghr@latest
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/go-semantic-release/changelog-generator-default

go 1.17
go 1.18

require github.com/go-semantic-release/semantic-release/v2 v2.12.1

Expand Down

0 comments on commit 95a4639

Please sign in to comment.