File tree Expand file tree Collapse file tree 6 files changed +38
-10
lines changed
Expand file tree Collapse file tree 6 files changed +38
-10
lines changed Original file line number Diff line number Diff line change 1- name : goreleaser
1+ name : Create Release
22
33on :
44 push :
55 tags :
66 - " *"
7+ workflow_call :
78
89permissions :
910 contents : write
3839 run : sudo apt update && sudo apt install -y libgpgme-dev
3940
4041 - name : Run GoReleaser
41- uses : goreleaser/goreleaser-action@v5
42+ uses : goreleaser/goreleaser-action@v6
4243 with :
4344 distribution : goreleaser
4445 version : latest
Original file line number Diff line number Diff line change 77 types : [opened, synchronize, reopened]
88
99env :
10- GO_VERSION : " 1.23.4 "
10+ GO_VERSION : " 1.23.6 "
1111
1212jobs :
1313 SAST :
@@ -30,13 +30,12 @@ jobs:
3030 run : go generate ./...
3131
3232 - name : Run SAST (golangci-lint)
33- uses : golangci/golangci-lint-action@v4
33+ uses : golangci/golangci-lint-action@v6
3434 with :
3535 version : " latest"
3636 only-new-issues : true
3737 args : --timeout=10m
38- skip-pkg-cache : true
39- skip-build-cache : true
38+ skip-cache : true
4039
4140 SCA :
4241 name : Perform SCA analysis (govulncheck)
Original file line number Diff line number Diff line change 1414 - name : Setup Go
1515 uses : actions/setup-go@v5
1616 with :
17- go-version : 1.23.4
17+ go-version : 1.23.6
1818
1919 - name : Install deps
2020 run : sudo apt update && sudo apt install -y libgpgme-dev
Original file line number Diff line number Diff line change 1+ name : Versioning
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ permissions :
9+ contents : write
10+
11+ jobs :
12+ versioning :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout code
16+ uses : actions/checkout@v4
17+ with :
18+ fetch-depth : 0
19+ fetch-tags : true
20+ - name : Calculate version
21+ id : calculate-version
22+ uses : bitshifted/git-auto-semver@v1
23+ with :
24+ main_branch : main
25+ create_tag : true
26+ tag_prefix : " v"
27+ release :
28+ needs : [versioning]
29+ uses : ./.github/workflows/release.yml
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ linters:
1515 - errname
1616 # - errorlint
1717 - exhaustive
18- - exportloopref
1918 # - funlen
2019 - goconst
2120 - gocritic
@@ -31,7 +30,7 @@ linters:
3130 # - prealloc
3231 - predeclared
3332 - staticcheck
34- - tenv
33+ - usetesting
3534 - tparallel
3635 - typecheck
3736 - unconvert
Original file line number Diff line number Diff line change 11module github.com/Altinity/docker-sync
22
3- go 1.23.3
3+ go 1.23.6
44
55require (
66 github.com/aws/aws-sdk-go v1.55.5
You can’t perform that action at this time.
0 commit comments