Skip to content

Commit 6decaed

Browse files
committed
chore: update CI
1 parent ac6c0a5 commit 6decaed

File tree

5 files changed

+25
-17
lines changed

5 files changed

+25
-17
lines changed

.github/workflows/documentation.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ jobs:
1717

1818
steps:
1919

20-
# https://github.com/marketplace/actions/setup-go-environment
21-
- name: Set up Go ${{ env.GO_VERSION }}
22-
uses: actions/setup-go@v3
23-
with:
24-
go-version: ${{ env.GO_VERSION }}
25-
2620
# https://github.com/marketplace/actions/checkout
2721
- name: Check out code
28-
uses: actions/checkout@v3
22+
uses: actions/checkout@v4
2923
with:
3024
fetch-depth: 0
3125

26+
# https://github.com/marketplace/actions/setup-go-environment
27+
- name: Set up Go ${{ env.GO_VERSION }}
28+
uses: actions/setup-go@v5
29+
with:
30+
go-version: ${{ env.GO_VERSION }}
31+
3232
- name: Generate DNS docs
3333
run: make generate-dns
3434

@@ -42,7 +42,7 @@ jobs:
4242

4343
# https://github.com/marketplace/actions/github-pages
4444
- name: Deploy to GitHub Pages
45-
uses: crazy-max/ghaction-github-pages@v3
45+
uses: crazy-max/ghaction-github-pages@v4
4646
with:
4747
target_branch: gh-pages
4848
build_dir: docs/public

.github/workflows/go-cross.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ jobs:
2222
steps:
2323
# https://github.com/marketplace/actions/checkout
2424
- name: Checkout code
25-
uses: actions/checkout@v3
25+
uses: actions/checkout@v4
2626

2727
# https://github.com/marketplace/actions/setup-go-environment
2828
- name: Set up Go ${{ matrix.go-version }}
29-
uses: actions/setup-go@v4
29+
uses: actions/setup-go@v5
3030
with:
3131
go-version: ${{ matrix.go-version }}
3232

.github/workflows/pr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
env:
1515
GO_VERSION: stable
16-
GOLANGCI_LINT_VERSION: v1.55.1
16+
GOLANGCI_LINT_VERSION: v1.55.2
1717
HUGO_VERSION: '0.117.0'
1818
CGO_ENABLED: 0
1919
LEGO_E2E_TESTS: CI
@@ -23,13 +23,13 @@ jobs:
2323

2424
# https://github.com/marketplace/actions/checkout
2525
- name: Check out code
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727
with:
2828
fetch-depth: 0
2929

3030
# https://github.com/marketplace/actions/setup-go-environment
3131
- name: Set up Go ${{ env.GO_VERSION }}
32-
uses: actions/setup-go@v4
32+
uses: actions/setup-go@v5
3333
with:
3434
go-version: ${{ env.GO_VERSION }}
3535

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ jobs:
3838
swap-storage: false
3939

4040
- name: Check out code
41-
uses: actions/checkout@v3
41+
uses: actions/checkout@v4
4242
with:
4343
fetch-depth: 0
4444

4545
- name: Set up Go ${{ env.GO_VERSION }}
46-
uses: actions/setup-go@v4
46+
uses: actions/setup-go@v5
4747
with:
4848
go-version: ${{ env.GO_VERSION }}
4949

@@ -54,14 +54,14 @@ jobs:
5454
run: echo "${DOCKER_PASSWORD}" | docker login --username "${DOCKER_USERNAME}" --password-stdin
5555

5656
- name: Set up QEMU
57-
uses: docker/setup-qemu-action@v2
57+
uses: docker/setup-qemu-action@v3
5858

5959
- name: Set up Docker Buildx
6060
uses: docker/setup-buildx-action@v2
6161

6262
# https://goreleaser.com/ci/actions/
6363
- name: Run GoReleaser
64-
uses: goreleaser/goreleaser-action@v4
64+
uses: goreleaser/goreleaser-action@v5
6565
with:
6666
version: latest
6767
args: release -p 1 --clean --timeout=90m

.goreleaser.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ builds:
4141
- goos: openbsd
4242
goarch: arm
4343

44+
changelog:
45+
sort: asc
46+
filters:
47+
exclude:
48+
- '(?i)^chore:'
49+
- '(?i)^Detach v[\d|.]+'
50+
- '(?i)^Prepare release v[\d|.]+'
51+
4452
archives:
4553
- id: lego
4654
name_template: '{{ .ProjectName }}_v{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}'

0 commit comments

Comments
 (0)