Skip to content

Commit 843dd92

Browse files
authored
Merge pull request #2 from database-playground/ci-upgrade
ci: upgrade workflow version
2 parents c3fbddc + ff39224 commit 843dd92

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

.github/workflows/docker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
uses: docker/setup-buildx-action@v3
3131

3232
- name: Checkout repository
33-
uses: actions/checkout@v4
33+
uses: actions/checkout@v6
3434

3535
- name: Log in to the Container registry
3636
uses: docker/login-action@master

.github/workflows/lint.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,27 @@ on:
66
pull_request:
77
branches: [main]
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
lint:
1114
name: Lint and Check Formatting
1215
runs-on: ubuntu-latest
1316

1417
steps:
15-
- uses: actions/checkout@v5
18+
- uses: actions/checkout@v6
1619

1720
- name: Set up Go
18-
uses: actions/setup-go@v5
21+
uses: actions/setup-go@v6
1922
with:
2023
go-version-file: "go.mod"
21-
cache: true
2224

2325
- name: Install dependencies
2426
run: go mod download
2527

2628
- name: Lint with golangci-lint
27-
uses: golangci/golangci-lint-action@v8
29+
uses: golangci/golangci-lint-action@v9
2830
with:
2931
version: latest
3032

.github/workflows/test.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,21 @@ on:
66
pull_request:
77
branches: [main]
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
test:
1114
name: Run Tests
1215
runs-on: ubuntu-latest
1316

1417
steps:
15-
- uses: actions/checkout@v5
18+
- uses: actions/checkout@v6
1619

1720
- name: Set up Go
18-
uses: actions/setup-go@v5
21+
uses: actions/setup-go@v6
1922
with:
2023
go-version-file: "go.mod"
21-
cache: true
2224

2325
- name: Install dependencies
2426
run: go mod download

0 commit comments

Comments
 (0)