Skip to content

Commit d669104

Browse files
chore: update dependencies (#9)
Signed-off-by: leonsteinhaeuser <lsteinha@redhat.com>
1 parent 03fa0e1 commit d669104

File tree

7 files changed

+34
-31
lines changed

7 files changed

+34
-31
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ updates:
1313
- package-ecosystem: "gomod"
1414
directory: "/"
1515
schedule:
16-
interval: "daily"
16+
interval: "weekly"

.github/workflows/pr_size.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,32 @@ on: pull_request
44
jobs:
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\ngo.mod\ngo.sum\nLICENSE"
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 }}

.github/workflows/release.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,26 @@ on:
66
- 'v*'
77

88
env:
9-
go_version: 1.18
9+
go_version: 1.25
1010

1111
jobs:
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 }}

.github/workflows/tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
- "**"
1313

1414
env:
15-
go_version: 1.18
15+
go_version: 1.25
1616

1717
jobs:
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

.goreleaser.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1+
version: 2
2+
13
before:
24
hooks:
35
- go mod tidy
6+
47
builds:
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

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module 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

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
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=

0 commit comments

Comments
 (0)