Skip to content

Commit

Permalink
deps: upgrade to go 1.23 (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
shanehull authored Oct 25, 2024
1 parent 8443fc4 commit 34ad446
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/lint-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:
name: Lint & Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.22"
go-version: "1.23"
cache: false
- name: Lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.55
version: v1.60
- name: Test
run: go test ./...
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
token: ${{secrets.GITHUB_TOKEN}}
- uses: actions/checkout@v4
if: ${{ steps.release-please.outputs.release_created }}
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
if: ${{ steps.release-please.outputs.release_created }}
with:
go-version: 1.22
go-version: 1.23
2 changes: 1 addition & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func main() {
mux := http.NewServeMux()

fileServer := http.FileServer(http.Dir("./static"))
mux.Handle("/static/*", http.StripPrefix("/static/", fileServer))
mux.Handle("/static/", http.StripPrefix("/static/", fileServer))
mux.Handle("/favicon.ico", fileServer)

mux.HandleFunc("/",
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 debtrecyclingcalc.com

go 1.22.0
go 1.23.2

require (
github.com/a-h/templ v0.2.771
Expand Down

0 comments on commit 34ad446

Please sign in to comment.