Skip to content

Commit d119ca2

Browse files
authored
Merge pull request #657 from coreosbot-releng/repo-templates
Sync repo templates ⚙
2 parents 93465e9 + 1e571cb commit d119ca2

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

.github/workflows/go.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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
@@ -70,7 +70,7 @@ jobs:
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

base/v0_2/translate_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ var (
4545

4646
func 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"

base/v0_3/translate_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ var (
4545

4646
func 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"

base/v0_4/translate_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ var (
4545

4646
func 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"

base/v0_5/translate_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ var (
4545

4646
func 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"

base/v0_6/translate_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ var (
4545

4646
func 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"

base/v0_7_exp/translate_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ var (
4545

4646
func 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"

0 commit comments

Comments
 (0)