Skip to content

Commit ab29449

Browse files
committed
chore(deps): update dependencies
1 parent e452936 commit ab29449

17 files changed

+4632
-823
lines changed

.github/images/banner-dark.svg

Lines changed: 582 additions & 0 deletions
Loading

.github/images/banner-light.svg

Lines changed: 389 additions & 0 deletions
Loading

.github/workflows/dependent_pr.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Dependent PRs
2+
3+
on:
4+
issues:
5+
types:
6+
- opened
7+
- edited
8+
- reopened
9+
pull_request_target:
10+
types:
11+
- opened
12+
- edited
13+
- reopened
14+
- synchronize
15+
schedule:
16+
- cron: "0 0 * * *"
17+
18+
jobs:
19+
check:
20+
name: Check
21+
runs-on: ubuntu-latest
22+
if: github.repository_owner == 'axiomhq'
23+
steps:
24+
- uses: z0al/dependent-issues@v1
25+
env:
26+
GITHUB_TOKEN: ${{ github.token }}
27+
GITHUB_READ_TOKEN: ${{ secrets.AXIOM_AUTOMATION_TOKEN }}
28+
with:
29+
label: dependent
30+
keywords: depends on, blocked by, needs

.github/workflows/pr.yaml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: PR
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
lint:
10+
name: Lint
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: actions/setup-go@v3
15+
with:
16+
check-latest: true
17+
go-version-file: go.mod
18+
- uses: golangci/golangci-lint-action@v3
19+
20+
test:
21+
name: Test
22+
needs: lint
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/checkout@v3
26+
- uses: actions/setup-go@v3
27+
with:
28+
check-latest: true
29+
cache: true
30+
go-version-file: go.mod
31+
- run: make test
32+
33+
build:
34+
name: Build
35+
needs: test
36+
runs-on: ubuntu-latest
37+
steps:
38+
- uses: actions/checkout@v3
39+
with:
40+
fetch-depth: 0
41+
- uses: actions/setup-go@v3
42+
with:
43+
check-latest: true
44+
cache: true
45+
go-version-file: go.mod
46+
- uses: goreleaser/goreleaser-action@v4
47+
with:
48+
args: build --snapshot

.github/workflows/pr.yml

Lines changed: 0 additions & 64 deletions
This file was deleted.

.github/workflows/push.yaml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Push
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
lint:
10+
name: Lint
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: actions/setup-go@v3
15+
with:
16+
check-latest: true
17+
go-version-file: go.mod
18+
- uses: golangci/golangci-lint-action@v3
19+
20+
test:
21+
name: Test
22+
needs: lint
23+
strategy:
24+
matrix:
25+
os:
26+
- macos-latest
27+
- ubuntu-latest
28+
- windows-latest
29+
runs-on: ${{ matrix.os }}
30+
steps:
31+
- uses: actions/checkout@v3
32+
- uses: actions/setup-go@v3
33+
with:
34+
check-latest: true
35+
cache: true
36+
go-version-file: go.mod
37+
- run: make test
38+
39+
build:
40+
name: Build
41+
needs: test
42+
runs-on: ubuntu-latest
43+
steps:
44+
- uses: actions/checkout@v3
45+
with:
46+
fetch-depth: 0
47+
- uses: actions/setup-go@v3
48+
with:
49+
check-latest: true
50+
cache: true
51+
go-version-file: go.mod
52+
- uses: goreleaser/goreleaser-action@v4
53+
with:
54+
args: build --snapshot

.github/workflows/push.yml

Lines changed: 0 additions & 64 deletions
This file was deleted.

.github/workflows/release.yml renamed to .github/workflows/release.yaml

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,34 +5,32 @@ on:
55
tags:
66
- "v*"
77

8-
env:
9-
GOVERSION: "1.17"
10-
118
jobs:
129
release:
1310
name: Release
1411
runs-on: ubuntu-latest
1512
steps:
16-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v3
1714
with:
1815
fetch-depth: 0
19-
- uses: actions/setup-go@v2
20-
with:
21-
go-version: ${{ env.GOVERSION }}
22-
- uses: actions/cache@v2
16+
- uses: actions/setup-go@v3
2317
with:
24-
path: |
25-
~/go/pkg/mod
26-
~/.cache/go-build
27-
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
28-
restore-keys: ${{ runner.os }}-go-
18+
check-latest: true
19+
cache: true
20+
go-version-file: go.mod
2921
- uses: docker/login-action@v1
3022
with:
23+
registry: docker.io
3124
username: ${{ secrets.DOCKER_USERNAME }}
3225
password: ${{ secrets.DOCKER_PASSWORD }}
33-
- uses: goreleaser/goreleaser-action@v2
26+
- uses: docker/login-action@v1
27+
with:
28+
registry: ghcr.io
29+
username: ${{ github.actor }}
30+
password: ${{ github.token }}
31+
- uses: goreleaser/goreleaser-action@v4
3432
with:
3533
args: release
3634
env:
37-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+
GITHUB_TOKEN: ${{ github.token }}
3836
HOMEBREW_TOKEN: ${{ secrets.HOMEBREW_TOKEN }}

.golangci.yml renamed to .golangci.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ linters:
1111
disable-all: true
1212
enable:
1313
- bodyclose
14-
- deadcode
1514
- dogsled
1615
- dupl
1716
- errcheck
@@ -28,13 +27,11 @@ linters:
2827
- prealloc
2928
- revive
3029
- staticcheck
31-
- structcheck
3230
- stylecheck
3331
- typecheck
3432
- unconvert
3533
- unparam
3634
- unused
37-
- varcheck
3835
- whitespace
3936

4037
linters-settings:
@@ -44,3 +41,8 @@ linters-settings:
4441
local-prefixes: github.com/axiomhq/axiom-honeycomb-proxy
4542
govet:
4643
check-shadowing: true
44+
nolintlint:
45+
allow-unused: false
46+
allow-leading-space: false
47+
require-explanation: true
48+
require-specific: true

0 commit comments

Comments
 (0)