File tree Expand file tree Collapse file tree 7 files changed +119
-0
lines changed Expand file tree Collapse file tree 7 files changed +119
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Test
2
+ on :
3
+ pull_request : {}
4
+ push :
5
+ branches :
6
+ - main
7
+
8
+ jobs :
9
+ lint :
10
+ runs-on : ubuntu-latest
11
+ permissions :
12
+ contents : read
13
+ pull-requests : read
14
+ checks : write
15
+ steps :
16
+ - name : Checkout
17
+ uses : actions/checkout@v4
18
+ with :
19
+ fetch-depth : 0
20
+ - name : Set up Go
21
+ uses : actions/setup-go@v5
22
+ with :
23
+ go-version-file : ' go.mod'
24
+ - name : Lint
25
+ uses : golangci/golangci-lint-action@v6
26
+ with :
27
+ version : v1.61
Original file line number Diff line number Diff line change
1
+ # If you prefer the allow list template instead of the deny list, see community template:
2
+ # https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
3
+ #
4
+ # Binaries for programs and plugins
5
+ * .exe
6
+ * .exe~
7
+ * .dll
8
+ * .so
9
+ * .dylib
10
+
11
+ # Test binary, built with `go test -c`
12
+ * .test
13
+
14
+ # Output of the go coverage tool, specifically when used with LiteIDE
15
+ * .out
16
+
17
+ # Dependency directories (remove the comment below to include it)
18
+ # vendor/
19
+
20
+ # Go workspace file
21
+ go.work
22
+ go.work.sum
23
+
24
+ # env file
25
+ .env
Original file line number Diff line number Diff line change
1
+ # yaml-language-server: $schema=https://goreleaser.com/static/schema.json
2
+ # vim: set ts=2 sw=2 tw=0 fo=cnqoj
3
+
4
+ version : 2
5
+
6
+ before :
7
+ hooks :
8
+ # You may remove this if you don't use go modules.
9
+ - go mod tidy
10
+ # you may remove this if you don't need go generate
11
+ - go generate ./...
12
+
13
+ builds :
14
+ - env :
15
+ - CGO_ENABLED=0
16
+ goos :
17
+ - linux
18
+ - windows
19
+ - darwin
20
+
21
+ archives :
22
+ - format : tar.gz
23
+ # this name template makes the OS and Arch compatible with the results of `uname`.
24
+ name_template : >-
25
+ {{ .ProjectName }}_
26
+ {{- title .Os }}_
27
+ {{- if eq .Arch "amd64" }}x86_64
28
+ {{- else if eq .Arch "386" }}i386
29
+ {{- else }}{{ .Arch }}{{ end }}
30
+ {{- if .Arm }}v{{ .Arm }}{{ end }}
31
+ # use zip for windows archives
32
+ format_overrides :
33
+ - goos : windows
34
+ format : zip
35
+
36
+ changelog :
37
+ sort : asc
38
+ filters :
39
+ exclude :
40
+ - " ^docs:"
41
+ - " ^test:"
42
+
43
+ kos :
44
+ - repository : ghcr.io/spiffe/aws-spiffe-workload-helper
45
+ tags :
46
+ - " {{.Version}}"
47
+ - latest
48
+ bare : true
49
+ preserve_import_paths : false
50
+ platforms :
51
+ - linux/amd64
52
+ - linux/arm64
53
+
54
+
Original file line number Diff line number Diff line change
1
+ # ` aws-spiffe-workload-helper `
2
+
3
+ WIP!!
Original file line number Diff line number Diff line change
1
+ package main
2
+
3
+ import "fmt"
4
+
5
+ func main () {
6
+ fmt .Println ("Hello, World!" )
7
+ }
Original file line number Diff line number Diff line change
1
+ module github.com/spiffe/aws-spiffe-workload-helper
2
+
3
+ go 1.22.5
You can’t perform that action at this time.
0 commit comments