Skip to content

Commit 1309122

Browse files
authored
Merge branch 'master' into 219-implement-solution-for-puzzle-2022day02
2 parents ad25dd8 + 56c2e4c commit 1309122

File tree

83 files changed

+1644
-819
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+1644
-819
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ jobs:
3535
# Learn more about CodeQL language support at https://git.io/codeql-language-support
3636
language: [ 'go' ]
3737
os: [ 'ubuntu-22.04' ]
38-
go-version: [1.21]
38+
go-version: [1.23]
3939
steps:
4040
- name: Checkout
4141
uses: actions/checkout@v4
4242
with:
4343
fetch-depth: 0
4444

4545
- name: Set up go
46-
uses: actions/setup-go@v5.0.0
46+
uses: actions/setup-go@v5.1.0
4747
with:
4848
go-version: ${{ matrix.go-version }}
4949
- run: |

.github/workflows/go.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
max-parallel: 3
4242
matrix:
4343
os: [ 'ubuntu-22.04' ]
44-
go-version: [1.21]
44+
go-version: [1.23]
4545
runs-on: ${{ matrix.os }}
4646
name: Build
4747
steps:
@@ -51,7 +51,7 @@ jobs:
5151
fetch-depth: 0
5252

5353
- name: Set up go
54-
uses: actions/setup-go@v5.0.0
54+
uses: actions/setup-go@v5.1.0
5555
with:
5656
go-version: ${{ matrix.go-version }}
5757

@@ -83,7 +83,7 @@ jobs:
8383
shell: bash
8484

8585
- name: Install GoReleaser
86-
uses: goreleaser/goreleaser-action@v5
86+
uses: goreleaser/goreleaser-action@v6
8787
with:
8888
install-only: true
8989

@@ -98,7 +98,7 @@ jobs:
9898
max-parallel: 2
9999
matrix:
100100
os: [ 'ubuntu-22.04' ]
101-
go-version: [1.21]
101+
go-version: [1.23]
102102
runs-on: ${{ matrix.os }}
103103
name: Run Tests
104104
steps:
@@ -108,7 +108,7 @@ jobs:
108108
fetch-depth: 0
109109

110110
- name: Set up go
111-
uses: actions/setup-go@v5.0.0
111+
uses: actions/setup-go@v5.1.0
112112
with:
113113
go-version: ${{ matrix.go-version }}
114114

@@ -145,7 +145,7 @@ jobs:
145145
max-parallel: 2
146146
matrix:
147147
os: [ 'ubuntu-22.04' ]
148-
go-version: [1.21]
148+
go-version: [1.23]
149149
runs-on: ${{ matrix.os }}
150150
name: Run linters
151151
steps:
@@ -155,7 +155,7 @@ jobs:
155155
fetch-depth: 0
156156

157157
- name: Set up go
158-
uses: actions/setup-go@v5.0.0
158+
uses: actions/setup-go@v5.1.0
159159
with:
160160
go-version: ${{ matrix.go-version }}
161161
- run: |
@@ -202,7 +202,7 @@ jobs:
202202
max-parallel: 1
203203
matrix:
204204
os: [ 'ubuntu-22.04' ]
205-
go-version: [1.21]
205+
go-version: [1.23]
206206
runs-on: ${{ matrix.os }}
207207
name: Quality reports
208208
steps:
@@ -212,7 +212,7 @@ jobs:
212212
fetch-depth: 0
213213

214214
- name: Set up go
215-
uses: actions/setup-go@v5.0.0
215+
uses: actions/setup-go@v5.1.0
216216
with:
217217
go-version: ${{ matrix.go-version }}
218218
- run: |
@@ -254,7 +254,7 @@ jobs:
254254
shell: bash
255255

256256
- name: SonarCloud report upload
257-
uses: sonarsource/sonarcloud-github-action@v2.1
257+
uses: sonarsource/sonarcloud-github-action@v3.1
258258
env:
259259
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
260260
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

.github/workflows/readme-stars.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,6 @@ jobs:
151151
starSymbol: ${{env.STAR_SYMBOL}}
152152

153153
- name: Commit changes
154-
uses: stefanzweifel/[email protected].0
154+
uses: stefanzweifel/[email protected].1
155155
with:
156156
commit_message: Update README stars.

.github/workflows/release.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
max-parallel: 2
1515
matrix:
1616
os: [ 'ubuntu-22.04' ]
17-
go-version: [1.21]
17+
go-version: [1.23]
1818
runs-on: ${{ matrix.os }}
1919
name: Build
2020
steps:
@@ -24,7 +24,7 @@ jobs:
2424
fetch-depth: 0
2525

2626
- name: Set up go
27-
uses: actions/setup-go@v5.0.0
27+
uses: actions/setup-go@v5.1.0
2828
with:
2929
go-version: ${{ matrix.go-version }}
3030

@@ -60,7 +60,7 @@ jobs:
6060
max-parallel: 2
6161
matrix:
6262
os: [ 'ubuntu-22.04' ]
63-
go-version: [1.21]
63+
go-version: [1.23]
6464
runs-on: ${{ matrix.os }}
6565
name: Regression tests
6666
steps:
@@ -70,7 +70,7 @@ jobs:
7070
fetch-depth: 0
7171

7272
- name: Set up go
73-
uses: actions/setup-go@v5.0.0
73+
uses: actions/setup-go@v5.1.0
7474
with:
7575
go-version: ${{ matrix.go-version }}
7676

@@ -109,7 +109,7 @@ jobs:
109109
max-parallel: 1
110110
matrix:
111111
os: [ 'ubuntu-22.04' ]
112-
go-version: [1.21]
112+
go-version: [1.23]
113113
runs-on: ${{ matrix.os }}
114114
name: Lint
115115
steps:
@@ -119,7 +119,7 @@ jobs:
119119
fetch-depth: 0
120120

121121
- name: Set up go
122-
uses: actions/setup-go@v5.0.0
122+
uses: actions/setup-go@v5.1.0
123123
with:
124124
go-version: ${{ matrix.go-version }}
125125

@@ -162,7 +162,7 @@ jobs:
162162
max-parallel: 1
163163
matrix:
164164
os: [ 'ubuntu-22.04' ]
165-
go-version: [1.21]
165+
go-version: [1.23]
166166
runs-on: ${{ matrix.os }}
167167
name: Release
168168
steps:
@@ -172,7 +172,7 @@ jobs:
172172
fetch-depth: 0
173173

174174
- name: Set up go
175-
uses: actions/setup-go@v5.0.0
175+
uses: actions/setup-go@v5.1.0
176176
with:
177177
go-version: ${{ matrix.go-version }}
178178

@@ -181,7 +181,7 @@ jobs:
181181
shell: bash
182182
183183
- name: Install GoReleaser
184-
uses: goreleaser/goreleaser-action@v5
184+
uses: goreleaser/goreleaser-action@v6
185185
with:
186186
install-only: true
187187

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ bin/
1818
dist/
1919
.DS_Store
2020
coverage/
21-
tests-report.json
21+
tests-report.json
22+
linters-report.xml

.golangci.pipe.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ linters-settings:
2828
arguments: [ [ "call-chain", "loop", "method-call", "recover", "return" ] ]
2929

3030
issues:
31+
exclude-files:
32+
- \.pb\.go$
33+
exclude-dirs:
34+
- vendor
3135
exclude-use-default: false
3236
exclude:
3337
# for "public interface + private struct implementation" cases only!
@@ -97,16 +101,16 @@ issues:
97101
run:
98102
issues-exit-code: 1
99103
tests: true
100-
skip-dirs:
101-
- vendor/
102-
skip-files:
103-
- \.pb\.go$
104104

105105
# output configuration options
106106
output:
107107
# colored-line-number|line-number|json|tab|checkstyle|code-climate|junit-xml|github-actions
108108
# default is "colored-line-number"
109-
format: github-actions
109+
formats:
110+
- format: colored-line-number
111+
path: stderr
112+
- format: checkstyle
113+
path: linters-report.xml
110114

111115
# print lines of code with issue, default is true
112116
print-issued-lines: true

0 commit comments

Comments
 (0)