Skip to content

Commit

Permalink
Merge branch 'master' into 2016/day03
Browse files Browse the repository at this point in the history
  • Loading branch information
obalunenko authored Nov 25, 2024
2 parents 7665e53 + 56c2e4c commit 948a3ab
Show file tree
Hide file tree
Showing 83 changed files with 1,644 additions and 819 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ jobs:
# Learn more about CodeQL language support at https://git.io/codeql-language-support
language: [ 'go' ]
os: [ 'ubuntu-22.04' ]
go-version: [1.21]
go-version: [1.23]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up go
uses: actions/setup-go@v5.0.0
uses: actions/setup-go@v5.1.0
with:
go-version: ${{ matrix.go-version }}
- run: |
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
max-parallel: 3
matrix:
os: [ 'ubuntu-22.04' ]
go-version: [1.21]
go-version: [1.23]
runs-on: ${{ matrix.os }}
name: Build
steps:
Expand All @@ -51,7 +51,7 @@ jobs:
fetch-depth: 0

- name: Set up go
uses: actions/setup-go@v5.0.0
uses: actions/setup-go@v5.1.0
with:
go-version: ${{ matrix.go-version }}

Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
shell: bash

- name: Install GoReleaser
uses: goreleaser/goreleaser-action@v5
uses: goreleaser/goreleaser-action@v6
with:
install-only: true

Expand All @@ -98,7 +98,7 @@ jobs:
max-parallel: 2
matrix:
os: [ 'ubuntu-22.04' ]
go-version: [1.21]
go-version: [1.23]
runs-on: ${{ matrix.os }}
name: Run Tests
steps:
Expand All @@ -108,7 +108,7 @@ jobs:
fetch-depth: 0

- name: Set up go
uses: actions/setup-go@v5.0.0
uses: actions/setup-go@v5.1.0
with:
go-version: ${{ matrix.go-version }}

Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
max-parallel: 2
matrix:
os: [ 'ubuntu-22.04' ]
go-version: [1.21]
go-version: [1.23]
runs-on: ${{ matrix.os }}
name: Run linters
steps:
Expand All @@ -155,7 +155,7 @@ jobs:
fetch-depth: 0

- name: Set up go
uses: actions/setup-go@v5.0.0
uses: actions/setup-go@v5.1.0
with:
go-version: ${{ matrix.go-version }}
- run: |
Expand Down Expand Up @@ -202,7 +202,7 @@ jobs:
max-parallel: 1
matrix:
os: [ 'ubuntu-22.04' ]
go-version: [1.21]
go-version: [1.23]
runs-on: ${{ matrix.os }}
name: Quality reports
steps:
Expand All @@ -212,7 +212,7 @@ jobs:
fetch-depth: 0

- name: Set up go
uses: actions/setup-go@v5.0.0
uses: actions/setup-go@v5.1.0
with:
go-version: ${{ matrix.go-version }}
- run: |
Expand Down Expand Up @@ -254,7 +254,7 @@ jobs:
shell: bash

- name: SonarCloud report upload
uses: sonarsource/sonarcloud-github-action@v2.1
uses: sonarsource/sonarcloud-github-action@v3.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/readme-stars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,6 @@ jobs:
starSymbol: ${{env.STAR_SYMBOL}}

- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5.0.0
uses: stefanzweifel/git-auto-commit-action@v5.0.1
with:
commit_message: Update README stars.
18 changes: 9 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
max-parallel: 2
matrix:
os: [ 'ubuntu-22.04' ]
go-version: [1.21]
go-version: [1.23]
runs-on: ${{ matrix.os }}
name: Build
steps:
Expand All @@ -24,7 +24,7 @@ jobs:
fetch-depth: 0

- name: Set up go
uses: actions/setup-go@v5.0.0
uses: actions/setup-go@v5.1.0
with:
go-version: ${{ matrix.go-version }}

Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
max-parallel: 2
matrix:
os: [ 'ubuntu-22.04' ]
go-version: [1.21]
go-version: [1.23]
runs-on: ${{ matrix.os }}
name: Regression tests
steps:
Expand All @@ -70,7 +70,7 @@ jobs:
fetch-depth: 0

- name: Set up go
uses: actions/setup-go@v5.0.0
uses: actions/setup-go@v5.1.0
with:
go-version: ${{ matrix.go-version }}

Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
max-parallel: 1
matrix:
os: [ 'ubuntu-22.04' ]
go-version: [1.21]
go-version: [1.23]
runs-on: ${{ matrix.os }}
name: Lint
steps:
Expand All @@ -119,7 +119,7 @@ jobs:
fetch-depth: 0

- name: Set up go
uses: actions/setup-go@v5.0.0
uses: actions/setup-go@v5.1.0
with:
go-version: ${{ matrix.go-version }}

Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:
max-parallel: 1
matrix:
os: [ 'ubuntu-22.04' ]
go-version: [1.21]
go-version: [1.23]
runs-on: ${{ matrix.os }}
name: Release
steps:
Expand All @@ -172,7 +172,7 @@ jobs:
fetch-depth: 0

- name: Set up go
uses: actions/setup-go@v5.0.0
uses: actions/setup-go@v5.1.0
with:
go-version: ${{ matrix.go-version }}

Expand All @@ -181,7 +181,7 @@ jobs:
shell: bash
- name: Install GoReleaser
uses: goreleaser/goreleaser-action@v5
uses: goreleaser/goreleaser-action@v6
with:
install-only: true

Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ bin/
dist/
.DS_Store
coverage/
tests-report.json
tests-report.json
linters-report.xml
14 changes: 9 additions & 5 deletions .golangci.pipe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ linters-settings:
arguments: [ [ "call-chain", "loop", "method-call", "recover", "return" ] ]

issues:
exclude-files:
- \.pb\.go$
exclude-dirs:
- vendor
exclude-use-default: false
exclude:
# for "public interface + private struct implementation" cases only!
Expand Down Expand Up @@ -97,16 +101,16 @@ issues:
run:
issues-exit-code: 1
tests: true
skip-dirs:
- vendor/
skip-files:
- \.pb\.go$

# output configuration options
output:
# colored-line-number|line-number|json|tab|checkstyle|code-climate|junit-xml|github-actions
# default is "colored-line-number"
format: github-actions
formats:
- format: colored-line-number
path: stderr
- format: checkstyle
path: linters-report.xml

# print lines of code with issue, default is true
print-issued-lines: true
Expand Down
Loading

0 comments on commit 948a3ab

Please sign in to comment.