-
Notifications
You must be signed in to change notification settings - Fork 158
/
.goreleaser.yaml
74 lines (64 loc) · 1.57 KB
/
.goreleaser.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
version: 2
release:
draft: false
prerelease: true
before:
hooks:
- go mod download
builds:
- <<: &build_defaults
main: ./cmd/actionlint
ldflags: -s -w -X github.com/rhysd/actionlint.version={{.Version}} -X "github.com/rhysd/actionlint.installedFrom=installed by downloading from release page"
env:
- CGO_ENABLED=0
id: macos
goos: [darwin]
goarch: [amd64, arm64]
- <<: *build_defaults
id: linux
goos: [linux]
goarch: [386, arm, amd64, arm64]
- <<: *build_defaults
id: windows
goos: [windows]
goarch: [386, amd64, arm64]
- <<: *build_defaults
id: freebsd
goos: [freebsd]
goarch: [386, amd64]
checksum:
name_template: "actionlint_{{.Version}}_checksums.txt"
algorithm: sha256
archives:
- <<: &archives_defaults
files:
- README.md
- LICENSE.txt
- docs
- man/actionlint.1
id: nix
builds: [macos, linux, freebsd]
format: tar.gz
- <<: *archives_defaults
id: windows
builds: [windows]
format: zip
brews:
- name: actionlint
repository:
owner: rhysd
name: actionlint
directory: HomebrewFormula
commit_author:
name: 'github-actions[bot]'
email: '41898282+github-actions[bot]@users.noreply.github.com'
homepage: https://github.com/rhysd/actionlint#readme
description: Static checker for GitHub Actions workflow files
license: MIT
install: |
bin.install "actionlint"
man1.install "man/actionlint.1"
test: |
system "#{bin}/actionlint -version"
changelog:
disable: true