Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Go 1.23 #258

Merged
merged 1 commit into from
Nov 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ on:
pull_request:
branches: [ '*' ]

env:
GO_VERSION: 1.22.x

jobs:

lint:
Expand All @@ -20,8 +17,7 @@ jobs:
- uses: actions/setup-go@v5
name: Set up Go
with:
go-version: ${{ env.GO_VERSION }}
cache: false
go-version-file: go.mod
- uses: golangci/golangci-lint-action@v6
name: Install golangci-lint
with:
Expand All @@ -41,8 +37,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
cache: true
go-version-file: go.mod

- name: Test
run: make cover
Expand All @@ -61,8 +56,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
cache: true
go-version-file: go.mod

# Node is needed to download pagefind.
- name: Set up Node
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22.x
cache: true
go-version-file: go.mod
- name: Set up Node
uses: actions/setup-node@v4
with:
Expand All @@ -31,7 +30,7 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.123.4'
hugo-version: '0.139.3'
extended: true

- name: Build
Expand All @@ -51,7 +50,7 @@ jobs:
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.output.pages_url }}
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-latest
steps:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22.x
cache: true
go-version-file: go.mod

- name: Install parse-changelog
uses: taiki-e/install-action@v2
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 go.abhg.dev/doc2go

go 1.22.0
go 1.23

require (
braces.dev/errtrace v0.3.0
Expand Down
2 changes: 1 addition & 1 deletion integration/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module go.abhg.dev/doc2go/integration

go 1.22.0
go 1.23

replace go.abhg.dev/doc2go => ../

Expand Down
Loading