File tree Expand file tree Collapse file tree 7 files changed +25
-19
lines changed Expand file tree Collapse file tree 7 files changed +25
-19
lines changed Original file line number Diff line number Diff line change 1
1
# Copyright 2023 The OpenVEX Authors
2
2
# SPDX-License-Identifier: Apache-2.0
3
3
4
+ ---
4
5
version : 2
5
6
updates :
6
7
- package-ecosystem : " github-actions"
@@ -10,9 +11,19 @@ updates:
10
11
# Run every weekday
11
12
interval : " daily"
12
13
open-pull-requests-limit : 10
14
+ groups :
15
+ all :
16
+ update-types :
17
+ - " minor"
18
+ - " patch"
13
19
14
20
- package-ecosystem : gomod
15
21
directory : " /"
16
22
schedule :
17
23
interval : " daily"
18
24
open-pull-requests-limit : 10
25
+ groups :
26
+ all :
27
+ update-types :
28
+ - " minor"
29
+ - " patch"
Original file line number Diff line number Diff line change 19
19
20
20
- uses : actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
21
21
with :
22
- go-version : " 1.21 "
22
+ go-version : " 1.22 "
23
23
check-latest : true
24
24
cache : true
25
25
35
35
36
36
- uses : actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
37
37
with :
38
- go-version : " 1.21 "
38
+ go-version : " 1.22 "
39
39
check-latest : true
40
40
cache : true
41
41
Original file line number Diff line number Diff line change 17
17
18
18
steps :
19
19
- name : Install publish-release
20
- uses : kubernetes-sigs/release-actions/setup-publish-release@841d76a188a7c121231a863572e27012805715a2 # main
20
+ uses : kubernetes-sigs/release-actions/setup-publish-release@841d76a188a7c121231a863572e27012805715a2 # v0.1.4
21
21
22
22
- name : Publish Release
23
- uses : kubernetes-sigs/release-actions/publish-release@841d76a188a7c121231a863572e27012805715a2 # main
23
+ uses : kubernetes-sigs/release-actions/publish-release@841d76a188a7c121231a863572e27012805715a2 # v0.1.4
24
24
env :
25
25
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26
-
Original file line number Diff line number Diff line change @@ -16,12 +16,12 @@ jobs:
16
16
- uses : actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
17
17
- uses : actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
18
18
with :
19
- go-version : 1.21
19
+ go-version : " 1.22 "
20
20
check-latest : true
21
21
cache : true
22
22
23
23
- name : golangci-lint
24
24
uses : golangci/golangci-lint-action@3cfe3a4abbb849e10058ce4af15d205b6da42804 # v4.0.0
25
25
with :
26
- version : v1.54
26
+ version : v1.57
27
27
args : --timeout=5m
Original file line number Diff line number Diff line change
1
+ # Copyright 2023 The OpenVEX Authors
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
1
4
---
2
5
run :
3
6
concurrency : 6
4
- deadline : 5m
5
7
issues :
6
8
exclude-rules :
7
9
# counterfeiter fakes are usually named 'fake_<something>.go'
Original file line number Diff line number Diff line change 1
1
# Copyright 2023 The OpenVEX Authors
2
2
# SPDX-License-Identifier: Apache-2.0
3
+
3
4
# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
4
5
ifeq (,$(shell go env GOBIN) )
5
6
GOBIN =$(shell go env GOPATH) /bin
@@ -33,17 +34,10 @@ LDFLAGS=-buildid= -X sigs.k8s.io/release-utils/version.gitVersion=$(GIT_VERSION)
33
34
pkg : # # Build pkg
34
35
go build -trimpath -ldflags " $( LDFLAGS) " ./...
35
36
37
+ .PHONY : build
38
+ build : pkg
39
+
36
40
# # Tests
37
41
.PHONY : test
38
42
test :
39
43
go test -v ./...
40
-
41
- # # Release
42
-
43
- .PHONY : release
44
- release :
45
- LDFLAGS=" $( LDFLAGS) " goreleaser release --rm-dist --timeout 120m
46
-
47
- .PHONY : snapshot
48
- snapshot :
49
- LDFLAGS=" $( LDFLAGS) " goreleaser release --rm-dist --snapshot --skip-sign --skip-publish --timeout 120m
Original file line number Diff line number Diff line change 1
1
module github.com/openvex/go-vex
2
2
3
- go 1.21
3
+ go 1.22
4
4
5
5
require (
6
6
github.com/google/go-cmp v0.6.0
You can’t perform that action at this time.
0 commit comments