File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed
Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -12,16 +12,15 @@ jobs:
1212 goreleaser :
1313 runs-on : ubuntu-latest
1414 steps :
15- -
16- name : Checkout
15+ - name : Checkout
1716 uses : actions/checkout@v4
1817 with :
1918 fetch-depth : 0
20- -
21- name : Set up Go
22- uses : actions/setup-go@v5
23- -
24- name : Run GoReleaser
19+ - name : Set up Go
20+ uses : actions/setup-go@v6
21+ with :
22+ go-version : ' stable ' # Latest stable version
23+ - name : Run GoReleaser
2524 uses : goreleaser/goreleaser-action@v6
2625 with :
2726 distribution : goreleaser
Original file line number Diff line number Diff line change @@ -21,3 +21,4 @@ Session.vim
2121# VSC
2222.vscode
2323check-commit
24+ .env
Original file line number Diff line number Diff line change 11module github.com/haproxytech/check-commit/v5
22
3- go 1.25 .0
3+ go 1.24 .0
44
55require (
66 github.com/fatih/camelcase v1.0.0
Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ package main
22
33import "os"
44
5- func getAPIToken (alterative string ) string {
5+ func getAPIToken (alternative string ) string {
66 token := os .Getenv ("API_TOKEN" )
77 if token == "" {
8- token = os .Getenv (alterative )
8+ token = os .Getenv (alternative )
99 }
1010
1111 return token
You can’t perform that action at this time.
0 commit comments