Skip to content

Commit fe31b72

Browse files
committed
CHORE: build GHA tweaks
1 parent 77e8f53 commit fe31b72

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

.github/workflows/build.yaml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,31 @@ name: build
22

33
on:
44
push:
5+
exclude:
6+
- 'v*'
7+
ignore:
8+
- 'docs/**'
9+
- '.github/**'
10+
- '*.sh'
11+
- '*.md'
12+
workflow_dispatch:
513

614
jobs:
715
build:
816
runs-on: ubuntu-latest
917
steps:
1018
- name: Checkout
11-
uses: actions/checkout@v2
19+
uses: actions/checkout@v4
1220
with:
1321
fetch-depth: 0
1422

1523
- name: Setup Go
16-
uses: actions/setup-go@v2
24+
uses: actions/setup-go@v4
1725
with:
18-
go-version: 1.18
26+
go-version: 1.21
1927

2028
- name: GoReleaser Build
21-
uses: goreleaser/goreleaser-action@v2
29+
uses: goreleaser/goreleaser-action@v5
2230
with:
2331
distribution: goreleaser
2432
version: latest

NOTES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ Random tidbits that I need to remember for working on fflint
77

88
[GoReleaser](https://goreleaser.com/quick-start/) uses tags to trigger releases:
99
```
10-
git tag -a major.minor.patch -m major.minor.patch
10+
git tag -a vMAJOR.MINOR.PATH -m "major.minor.patch optional description"
1111
git push origin --tags
1212
```

0 commit comments

Comments
 (0)