-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
better diagnostics, add basic mode; add errors.Is
Signed-off-by: Oliver Eikemeier <[email protected]>
- Loading branch information
Showing
19 changed files
with
585 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,4 @@ coverage: | |
project: false | ||
patch: false | ||
ignore: | ||
- atomic/nocopy.go | ||
- main.go |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,42 @@ | ||
--- | ||
name: Test | ||
"on": | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
jobs: | ||
test: | ||
name: Test on Go ${{ matrix.go }} | ||
permissions: | ||
checks: write | ||
contents: read | ||
pull-requests: read | ||
statuses: write | ||
runs-on: ubuntu-24.04 | ||
strategy: | ||
matrix: | ||
go: ["1.22", "1.21"] | ||
env: | ||
GOTOOLCHAIN: local | ||
steps: | ||
- name: ✔ Check out | ||
uses: actions/checkout@v4 | ||
- name: 🐹 Set up Go ${{ matrix.go }} | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ matrix.go }} | ||
check-latest: true | ||
- name: 🧸 golangci-lint | ||
uses: golangci/golangci-lint-action@v6 | ||
with: | ||
version: v1.59.1 | ||
- name: 🔨 Test | ||
run: go test -coverprofile=cover.out ./... | ||
- name: 🧑🏻💻 codecov | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
files: ./cover.out | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
test: | ||
name: Test on Go ${{ matrix.go }} | ||
permissions: | ||
checks: write | ||
contents: read | ||
pull-requests: read | ||
statuses: write | ||
runs-on: ubuntu-24.04 | ||
strategy: | ||
matrix: | ||
go: ["1.22", "1.21"] | ||
env: | ||
GOTOOLCHAIN: local | ||
steps: | ||
- name: ✔ Check out | ||
uses: actions/checkout@v4 | ||
- name: 🐹 Set up Go ${{ matrix.go }} | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ matrix.go }} | ||
check-latest: true | ||
- name: 🧸 golangci-lint | ||
uses: golangci/golangci-lint-action@v6 | ||
with: | ||
version: v1.59.1 | ||
- name: 🔨 Test | ||
run: go test -coverprofile=cover.out ./... | ||
- name: 🧑🏻💻 codecov | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
files: ./cover.out | ||
token: ${{ secrets.CODECOV_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# zerolint exclusions for a | ||
a.C |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.