Skip to content

Commit da8f7fa

Browse files
authored
Merge pull request #151 from dolthub/db/bump-go
/{go.mod,.github}: bump go version
2 parents 5fb5f8e + 6f333b6 commit da8f7fa

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

.github/workflows/ci-bats-unix.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
env:
2020
use_credentials: ${{ secrets.AWS_SECRET_ACCESS_KEY != '' && secrets.AWS_ACCESS_KEY_ID != '' }}
2121
steps:
22-
- name: Setup Go 1.x
23-
uses: actions/setup-go@v3
22+
- uses: actions/checkout@v3
23+
- name: Set up Go
24+
uses: actions/setup-go@v5
2425
with:
25-
go-version: ^1.21
26+
go-version-file: go.mod
2627
id: go
27-
- uses: actions/checkout@v3
2828
- uses: actions/setup-node@v3
2929
with:
3030
node-version: ^16

.github/workflows/ci-check-repo.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ jobs:
1515
outputs:
1616
format: ${{ steps.should_format.outputs.format }}
1717
steps:
18-
- name: Setup Go 1.x
19-
uses: actions/setup-go@v3
20-
with:
21-
go-version: ^1.21
2218
- uses: actions/checkout@v3
2319
with:
2420
submodules: true
21+
- name: Set up Go
22+
uses: actions/setup-go@v5
23+
with:
24+
go-version-file: go.mod
2525
- name: Check all
2626
id: should_format
2727
run: |

.github/workflows/ci-staticcheck.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ jobs:
1010
name: Run Staticcheck
1111
runs-on: ubuntu-22.04
1212
steps:
13-
- name: Setup Go 1.x
14-
uses: actions/setup-go@v3
15-
with:
16-
go-version: ^1.21
1713
- uses: actions/checkout@v3
1814
with:
1915
submodules: true
16+
- name: Set up Go
17+
uses: actions/setup-go@v5
18+
with:
19+
go-version-file: go.mod
2020
- name: Build SQL Syntax
2121
run: ./build.sh
2222
working-directory: ./postgres/parser

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313
platform: [ubuntu-latest, macos-latest, windows-latest]
1414
runs-on: ${{ matrix.platform }}
1515
steps:
16-
- name: Setup Go 1.x
17-
uses: actions/setup-go@v3
18-
with:
19-
go-version: ^1.21
20-
id: go
2116
- name: Checkout code
2217
uses: actions/checkout@v3
18+
- name: Set up Go
19+
uses: actions/setup-go@v5
20+
with:
21+
go-version-file: go.mod
22+
id: go
2323
- name: Build SQL Syntax
2424
run: ./build.sh
2525
working-directory: ./postgres/parser

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/dolthub/doltgresql
22

3-
go 1.21
3+
go 1.22
44

55
require (
66
github.com/PuerkitoBio/goquery v1.8.1

0 commit comments

Comments
 (0)