File tree Expand file tree Collapse file tree 7 files changed +34
-31
lines changed
Expand file tree Collapse file tree 7 files changed +34
-31
lines changed Original file line number Diff line number Diff line change @@ -13,4 +13,4 @@ updates:
1313 - package-ecosystem : " gomod"
1414 directory : " /"
1515 schedule :
16- interval : " daily "
16+ interval : " weekly "
Original file line number Diff line number Diff line change @@ -4,26 +4,32 @@ on: pull_request
44jobs :
55 size-label :
66 runs-on : ubuntu-latest
7+ permissions :
8+ contents : read
9+ pull-requests : write
710 steps :
811 - name : Add size label
9- uses : " pascalgn/size-label-action@v0.4.3 "
12+ uses : " pascalgn/size-label-action@v0.5.5 "
1013 env :
1114 GITHUB_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
1215 IGNORED : " .gitignore\n *.md\n *.MD\n *.json\n *.sql\n *.yaml\n *.yml\n .dockerignore\n go.mod\n go.sum\n LICENSE"
1316 with :
1417 sizes : >
1518 {
1619 "0": "XS",
17- "100 ": "S",
18- "500 ": "M",
19- "1000 ": "L",
20- "1500 ": "XL",
21- "2500 ": "XXL"
20+ "50 ": "S",
21+ "100 ": "M",
22+ "200 ": "L",
23+ "500 ": "XL",
24+ "1000 ": "XXL"
2225 }
2326
2427 pr-labeler :
2528 runs-on : ubuntu-latest
29+ permissions :
30+ contents : read
31+ pull-requests : write
2632 steps :
27- - uses : TimonVS/pr-labeler-action@v4
33+ - uses : TimonVS/pr-labeler-action@v5
2834 env :
29- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 66 - ' v*'
77
88env :
9- go_version : 1.18
9+ go_version : 1.25
1010
1111jobs :
1212 release :
1313 runs-on : ubuntu-latest
1414 steps :
1515 - name : Setup Go ${{ env.go_version }}
16- uses : actions/setup-go@v3
16+ uses : actions/setup-go@v6
1717 with :
1818 go-version : ${{ env.go_version }}
1919
2020 - name : Checkout code
21- uses : actions/checkout@v3
21+ uses : actions/checkout@v4
2222 with :
2323 fetch-depth : 0
2424
25- - name : Fetch all tags
26- run : git fetch --force --tags
27-
2825 - name : Run goreleaser
29- uses : goreleaser/goreleaser-action@v3
26+ uses : goreleaser/goreleaser-action@v6
3027 with :
3128 version : latest
32- args : release --rm-dist
29+ args : release --clean
3330 env :
3431 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1212 - " **"
1313
1414env :
15- go_version : 1.18
15+ go_version : 1.25
1616
1717jobs :
1818 unit :
@@ -23,22 +23,22 @@ jobs:
2323 COVER_FILE : coverage.txt
2424 steps :
2525 - name : Setup Go ${{ env.go_version }}
26- uses : actions/setup-go@v3
26+ uses : actions/setup-go@v6
2727 with :
2828 go-version : ${{ env.go_version }}
2929
3030 - name : Checkout code
31- uses : actions/checkout@v3
31+ uses : actions/checkout@v4
3232
3333 - name : Run tests
3434 shell : bash
3535 run : go test -race -coverprofile=$COVER_FILE -covermode=atomic $(go list ./...)
3636
3737 - name : Upload coverage to Codecov
38- uses : codecov/codecov-action@v3
38+ uses : codecov/codecov-action@v5
3939 with :
4040 token : ${{ env.CODECOV_TOKEN }}
4141 env_vars : OS,GOLANG
4242 fail_ci_if_error : true
4343 files : ${{ env.COVER_FILE }}
44- flags : unittests
44+ flags : unittests
Original file line number Diff line number Diff line change 1+ version : 2
2+
13before :
24 hooks :
35 - go mod tidy
6+
47builds :
5- - id : example
6- env :
7- - CGO_ENABLED=0
8+ - env :
9+ - CGO_ENABLED=0
810 goos :
911 - linux
10- goarch :
11- - amd64
1212 main : ./_example/basic
1313 binary : example
1414
Original file line number Diff line number Diff line change 11module github.com/leonsteinhaeuser/observer/v2
22
3- go 1.18
3+ go 1.24.0
44
5- require golang.org/x/sync v0.1 .0
5+ require golang.org/x/sync v0.19 .0
Original file line number Diff line number Diff line change 1- golang.org/x/sync v0.1 .0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o =
2- golang.org/x/sync v0.1 .0 /go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM =
1+ golang.org/x/sync v0.19 .0 h1:vV+1eWNmZ5geRlYjzm2adRgW2/mcpevXNg50YZtPCE4 =
2+ golang.org/x/sync v0.19 .0 /go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI =
You can’t perform that action at this time.
0 commit comments