File tree Expand file tree Collapse file tree 7 files changed +12
-12
lines changed Expand file tree Collapse file tree 7 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,12 @@ jobs:
2020 name : Test
2121 strategy :
2222 matrix :
23- go-version : [1.23 .x, 1.24 .x]
23+ go-version : [1.24 .x, 1.25 .x]
2424 os : [ubuntu-latest]
2525 include :
26- - go-version : 1.24 .x
26+ - go-version : 1.25 .x
2727 os : macos-latest
28- - go-version : 1.24 .x
28+ - go-version : 1.25 .x
2929 os : windows-latest
3030 runs-on : ${{ matrix.os }}
3131 steps :
@@ -57,10 +57,10 @@ jobs:
5757 fi
5858 echo "All Go files are correctly formatted."
5959 - name : Run linter
60- uses : golangci/golangci-lint-action@v9
60+ uses : golangci/golangci-lint-action@v8
6161 if : runner.os == 'Linux'
6262 with :
63- version : v2.1.6
63+ version : v2.6.2
6464 regenerate :
6565 name : Regenerate
6666 runs-on : ubuntu-latest
7070 - name : Set up Go 1.x
7171 uses : actions/setup-go@v5
7272 with :
73- go-version : 1.24 .x
73+ go-version : 1.25 .x
7474 - name : Regenerate
7575 run : ./generate
7676 - name : Check whether generated output is current
Original file line number Diff line number Diff line change 4545
4646func init () {
4747 if runtime .GOOS == "windows" {
48- osStatName = "CreateFile "
48+ osStatName = "GetFileAttributesEx "
4949 osNotFound = "The system cannot find the file specified."
5050 } else {
5151 osStatName = "stat"
Original file line number Diff line number Diff line change 4545
4646func init () {
4747 if runtime .GOOS == "windows" {
48- osStatName = "CreateFile "
48+ osStatName = "GetFileAttributesEx "
4949 osNotFound = "The system cannot find the file specified."
5050 } else {
5151 osStatName = "stat"
Original file line number Diff line number Diff line change 4545
4646func init () {
4747 if runtime .GOOS == "windows" {
48- osStatName = "CreateFile "
48+ osStatName = "GetFileAttributesEx "
4949 osNotFound = "The system cannot find the file specified."
5050 } else {
5151 osStatName = "stat"
Original file line number Diff line number Diff line change 4545
4646func init () {
4747 if runtime .GOOS == "windows" {
48- osStatName = "CreateFile "
48+ osStatName = "GetFileAttributesEx "
4949 osNotFound = "The system cannot find the file specified."
5050 } else {
5151 osStatName = "stat"
Original file line number Diff line number Diff line change 4545
4646func init () {
4747 if runtime .GOOS == "windows" {
48- osStatName = "CreateFile "
48+ osStatName = "GetFileAttributesEx "
4949 osNotFound = "The system cannot find the file specified."
5050 } else {
5151 osStatName = "stat"
Original file line number Diff line number Diff line change 4545
4646func init () {
4747 if runtime .GOOS == "windows" {
48- osStatName = "CreateFile "
48+ osStatName = "GetFileAttributesEx "
4949 osNotFound = "The system cannot find the file specified."
5050 } else {
5151 osStatName = "stat"
You can’t perform that action at this time.
0 commit comments