Skip to content

Commit

Permalink
feat(build)!: update Go version to 1.23 in workflow
Browse files Browse the repository at this point in the history
Upgraded the Go version in the GitHub Actions workflow from 1.21 to 1.23 to ensure compatibility with the latest language features and security patches. Additionally, added conditional build tags to exclude test-specific code during production builds.
  • Loading branch information
ryanbekhen committed Dec 8, 2024
1 parent 4c49881 commit 363b211
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
with:
fetch-depth: 0

- name: Setup Go 1.21
- name: Setup Go 1.23
uses: actions/setup-go@v2
with:
go-version: 1.21
go-version: 1.23

- name: Download dependencies
run: go mod download
Expand Down
2 changes: 2 additions & 0 deletions nanoproxy.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build !test

package main

import (
Expand Down

0 comments on commit 363b211

Please sign in to comment.