Skip to content

Commit bb10f7a

Browse files
Update Github workflows to fix deprecation warnings (#203)
![image](https://github.com/databricks/databricks-sql-go/assets/12139186/7e111bdb-3644-431e-aeb4-c4a8d92787a6) --------- Signed-off-by: Levko Kravets <[email protected]>
1 parent d70ab7c commit bb10f7a

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

.github/workflows/go.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,18 @@ jobs:
1313

1414
steps:
1515
- name: Check out code into the Go module directory
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
17+
18+
- name: Set up Go Toolchain
19+
uses: actions/setup-go@v5
20+
with:
21+
go-version: '1.20.x'
22+
cache: false
1723

1824
- name: Lint
19-
uses: golangci/golangci-lint-action@v3
25+
uses: golangci/golangci-lint-action@v4
2026
with:
21-
version: v1.51
27+
version: 'v1.51'
2228
build-and-test:
2329
name: Test and Build
2430
strategy:
@@ -29,15 +35,16 @@ jobs:
2935

3036
steps:
3137
- name: Check out code into the Go module directory
32-
uses: actions/checkout@v3
38+
uses: actions/checkout@v4
3339

3440
- name: Set up Go Toolchain
35-
uses: actions/setup-go@v3
41+
uses: actions/setup-go@v5
3642
with:
3743
go-version: ${{ matrix.go-version }}
44+
cache: false
3845

3946
- name: Cache Go artifacts
40-
uses: actions/cache@v2
47+
uses: actions/cache@v4
4148
with:
4249
path: |
4350
~/go/pkg/mod

0 commit comments

Comments
 (0)