Skip to content

Commit 8d04004

Browse files
authored
Update dependencies, including [email protected] (#55)
* Update dependencies, including [email protected] * Update go version used in CI
1 parent 46e2c8f commit 8d04004

File tree

757 files changed

+166566
-274165
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

757 files changed

+166566
-274165
lines changed

.github/workflows/ci.yaml

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -4,50 +4,50 @@ jobs:
44
go-lint:
55
runs-on: ubuntu-latest
66
steps:
7-
- name: Install Go
8-
uses: actions/setup-go@v5
9-
with:
10-
go-version: 1.22.x
11-
- name: Checkout code
12-
uses: actions/checkout@v4
13-
- name: Run linters
14-
uses: golangci/golangci-lint-action@v3
15-
with:
16-
version: latest
17-
args: --timeout=3m
7+
- name: Install Go
8+
uses: actions/setup-go@v5
9+
with:
10+
go-version: 1.23.x
11+
- name: Checkout code
12+
uses: actions/checkout@v4
13+
- name: Run linters
14+
uses: golangci/golangci-lint-action@v3
15+
with:
16+
version: latest
17+
args: --timeout=3m
1818
go-test:
1919
strategy:
2020
matrix:
21-
go-version: [1.22.x]
22-
platform: [ubuntu-latest]
21+
go-version: [ 1.23.x ]
22+
platform: [ ubuntu-latest ]
2323
runs-on: ${{ matrix.platform }}
2424
steps:
25-
- name: Install Go
26-
if: success()
27-
uses: actions/setup-go@v5
28-
with:
29-
go-version: ${{ matrix.go-version }}
30-
- name: Checkout code
31-
uses: actions/checkout@v4
32-
- name: go tests
33-
run: go test -v -covermode=count -json ./... > test.json
34-
- name: annotate go tests
35-
if: always()
36-
uses: guyarb/[email protected]
37-
with:
38-
test-results: test.json
25+
- name: Install Go
26+
if: success()
27+
uses: actions/setup-go@v5
28+
with:
29+
go-version: ${{ matrix.go-version }}
30+
- name: Checkout code
31+
uses: actions/checkout@v4
32+
- name: go tests
33+
run: go test -v -covermode=count -json ./... > test.json
34+
- name: annotate go tests
35+
if: always()
36+
uses: guyarb/[email protected]
37+
with:
38+
test-results: test.json
3939
buf-lint-and-breaking-change-detection:
4040
runs-on: ubuntu-latest
4141
steps:
42-
- name: Checkout
43-
uses: actions/checkout@v4
44-
- name: Setup
45-
uses: bufbuild/buf-setup-action@v1
46-
with:
47-
version: '1.29.0'
48-
- name: Lint
49-
uses: bufbuild/buf-lint-action@v1
50-
- name: Breaking change detection against `main`
51-
uses: bufbuild/buf-breaking-action@v1
52-
with:
53-
against: 'https://github.com/conductorone/baton.git#branch=main'
42+
- name: Checkout
43+
uses: actions/checkout@v4
44+
- name: Setup
45+
uses: bufbuild/buf-setup-action@v1
46+
with:
47+
version: '1.29.0'
48+
- name: Lint
49+
uses: bufbuild/buf-lint-action@v1
50+
- name: Breaking change detection against `main`
51+
uses: bufbuild/buf-breaking-action@v1
52+
with:
53+
against: 'https://github.com/conductorone/baton.git#branch=main'

.github/workflows/main.yaml

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -2,55 +2,55 @@ name: main ci
22
on:
33
push:
44
branches:
5-
- main
5+
- main
66
jobs:
77
go-lint:
88
runs-on: ubuntu-latest
99
steps:
10-
- name: Install Go
11-
uses: actions/setup-go@v5
12-
with:
13-
go-version: 1.22.x
14-
- name: Checkout code
15-
uses: actions/checkout@v4
16-
- name: Run linters
17-
uses: golangci/golangci-lint-action@v3
18-
with:
19-
version: latest
20-
args: --timeout=3m
10+
- name: Install Go
11+
uses: actions/setup-go@v5
12+
with:
13+
go-version: 1.23.x
14+
- name: Checkout code
15+
uses: actions/checkout@v4
16+
- name: Run linters
17+
uses: golangci/golangci-lint-action@v3
18+
with:
19+
version: latest
20+
args: --timeout=3m
2121
go-test:
2222
strategy:
2323
matrix:
24-
go-version: [ 1.22.x ]
24+
go-version: [ 1.23.x ]
2525
platform: [ ubuntu-latest ]
2626
runs-on: ${{ matrix.platform }}
2727
steps:
28-
- name: Install Go
29-
if: success()
30-
uses: actions/setup-go@v5
31-
with:
32-
go-version: ${{ matrix.go-version }}
33-
- name: Checkout code
34-
uses: actions/checkout@v4
35-
- name: go tests
36-
run: go test -v -covermode=count -json ./... > test.json
37-
- name: annotate go tests
38-
if: always()
39-
uses: guyarb/[email protected]
40-
with:
41-
test-results: test.json
28+
- name: Install Go
29+
if: success()
30+
uses: actions/setup-go@v5
31+
with:
32+
go-version: ${{ matrix.go-version }}
33+
- name: Checkout code
34+
uses: actions/checkout@v4
35+
- name: go tests
36+
run: go test -v -covermode=count -json ./... > test.json
37+
- name: annotate go tests
38+
if: always()
39+
uses: guyarb/[email protected]
40+
with:
41+
test-results: test.json
4242
buf-lint-and-breaking-change-detection:
4343
runs-on: ubuntu-latest
4444
steps:
45-
- name: Checkout
46-
uses: actions/checkout@v2
47-
- name: Setup
48-
uses: bufbuild/buf-setup-action@v1
49-
with:
50-
version: '1.29.0'
51-
- name: Lint
52-
uses: bufbuild/buf-lint-action@v1
53-
- name: Breaking change detection against `main`
54-
uses: bufbuild/buf-breaking-action@v1
55-
with:
56-
against: 'https://github.com/conductorone/baton.git#branch=main,ref=HEAD~1'
45+
- name: Checkout
46+
uses: actions/checkout@v2
47+
- name: Setup
48+
uses: bufbuild/buf-setup-action@v1
49+
with:
50+
version: '1.29.0'
51+
- name: Lint
52+
uses: bufbuild/buf-lint-action@v1
53+
- name: Breaking change detection against `main`
54+
uses: bufbuild/buf-breaking-action@v1
55+
with:
56+
against: 'https://github.com/conductorone/baton.git#branch=main,ref=HEAD~1'

.github/workflows/release.yaml

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -3,59 +3,59 @@ name: Release
33
on:
44
push:
55
tags:
6-
- '*'
6+
- '*'
77

88
jobs:
99
goreleaser:
1010
runs-on: macos-latest
1111
steps:
12-
- name: Checkout
13-
uses: actions/checkout@v4
14-
with:
15-
fetch-depth: 0
16-
- name: Set up Go
17-
uses: actions/setup-go@v5
18-
with:
19-
go-version: 1.22.x
20-
- name: Set up Gon
21-
run: brew tap conductorone/gon && brew install conductorone/gon/gon
22-
- name: Import Keychain Certs
23-
uses: apple-actions/import-codesign-certs@v1
24-
with:
25-
p12-file-base64: ${{ secrets.APPLE_SIGNING_KEY_P12 }}
26-
p12-password: ${{ secrets.APPLE_SIGNING_KEY_P12_PASSWORD }}
27-
- name: Run GoReleaser
28-
uses: goreleaser/goreleaser-action@v6
29-
with:
30-
version: "~> v2"
31-
args: release --clean
32-
env:
33-
GITHUB_TOKEN: ${{ secrets.RELENG_GITHUB_TOKEN }}
34-
AC_PASSWORD: ${{ secrets.AC_PASSWORD }}
35-
AC_PROVIDER: ${{ secrets.AC_PROVIDER }}
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
with:
15+
fetch-depth: 0
16+
- name: Set up Go
17+
uses: actions/setup-go@v5
18+
with:
19+
go-version: 1.23.x
20+
- name: Set up Gon
21+
run: brew tap conductorone/gon && brew install conductorone/gon/gon
22+
- name: Import Keychain Certs
23+
uses: apple-actions/import-codesign-certs@v1
24+
with:
25+
p12-file-base64: ${{ secrets.APPLE_SIGNING_KEY_P12 }}
26+
p12-password: ${{ secrets.APPLE_SIGNING_KEY_P12_PASSWORD }}
27+
- name: Run GoReleaser
28+
uses: goreleaser/goreleaser-action@v6
29+
with:
30+
version: "~> v2"
31+
args: release --clean
32+
env:
33+
GITHUB_TOKEN: ${{ secrets.RELENG_GITHUB_TOKEN }}
34+
AC_PASSWORD: ${{ secrets.AC_PASSWORD }}
35+
AC_PROVIDER: ${{ secrets.AC_PROVIDER }}
3636
goreleaser-docker:
3737
runs-on: ubuntu-latest
3838
steps:
39-
- name: Checkout
40-
uses: actions/checkout@v4
41-
with:
42-
fetch-depth: 0
43-
- name: Set up Go
44-
uses: actions/setup-go@v5
45-
with:
46-
go-version: 1.22.x
47-
- name: Docker Login
48-
uses: docker/login-action@v1
49-
with:
50-
registry: ghcr.io
51-
username: ${{ github.repository_owner }}
52-
password: ${{ secrets.RELENG_GITHUB_TOKEN }}
53-
- name: Set up Docker Buildx
54-
uses: docker/setup-buildx-action@v1
55-
- name: Run GoReleaser
56-
uses: goreleaser/goreleaser-action@v6
57-
with:
58-
version: "~> v2"
59-
args: release --clean -f .goreleaser.docker.yaml
60-
env:
61-
GITHUB_TOKEN: ${{ secrets.RELENG_GITHUB_TOKEN }}
39+
- name: Checkout
40+
uses: actions/checkout@v4
41+
with:
42+
fetch-depth: 0
43+
- name: Set up Go
44+
uses: actions/setup-go@v5
45+
with:
46+
go-version: 1.23.x
47+
- name: Docker Login
48+
uses: docker/login-action@v1
49+
with:
50+
registry: ghcr.io
51+
username: ${{ github.repository_owner }}
52+
password: ${{ secrets.RELENG_GITHUB_TOKEN }}
53+
- name: Set up Docker Buildx
54+
uses: docker/setup-buildx-action@v1
55+
- name: Run GoReleaser
56+
uses: goreleaser/goreleaser-action@v6
57+
with:
58+
version: "~> v2"
59+
args: release --clean -f .goreleaser.docker.yaml
60+
env:
61+
GITHUB_TOKEN: ${{ secrets.RELENG_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)