Skip to content

Commit daa5e46

Browse files
committed
Upgrade dependencies and add more test cases
1 parent 1672dc3 commit daa5e46

7 files changed

Lines changed: 24 additions & 8 deletions

File tree

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: /
5+
schedule:
6+
interval: monthly
7+
open-pull-requests-limit: 0
8+
- package-ecosystem: gomod
9+
directory: /
10+
schedule:
11+
interval: monthly
12+
open-pull-requests-limit: 0

.github/workflows/goreleaser.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout code
11-
uses: actions/checkout@v2
11+
uses: actions/checkout@v4
1212
with:
1313
fetch-depth: 0
1414
- name: Install Go
15-
uses: actions/setup-go@v2
15+
uses: actions/setup-go@v4
1616
with:
17-
go-version: 1.17
17+
go-version: '1.21'
1818
- name: Run GoReleaser
19-
uses: goreleaser/goreleaser-action@v2
19+
uses: goreleaser/goreleaser-action@v5
2020
with:
2121
distribution: goreleaser
2222
version: latest
23-
args: release --rm-dist
23+
args: release --clean
2424
env:
2525
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/tests.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,22 @@ jobs:
1515
- 1.15.x
1616
- 1.16.x
1717
- 1.17.x
18+
- 1.18.x
19+
- 1.19.x
20+
- 1.20.x
21+
- 1.21.x
1822
- 1.x
1923
os:
2024
- ubuntu-latest
2125
runs-on: ${{ matrix.os }}
2226
steps:
2327
- name: Install Go
24-
uses: actions/setup-go@v2
28+
uses: actions/setup-go@v4
2529
with:
2630
go-version: ${{ matrix.go-version }}
2731
- name: Checkout code
28-
uses: actions/checkout@v2
32+
uses: actions/checkout@v4
2933
- name: Test
3034
run: go test -coverprofile=coverage.txt -covermode=atomic ./...
3135
- name: Upload coverage to Codecov
32-
uses: codecov/codecov-action@v2
36+
uses: codecov/codecov-action@v3

testdata/pal4rlecut.bmp

3.53 KB
Binary file not shown.

testdata/pal4rlecut.png

1.17 KB
Loading

testdata/pal4rletrns.bmp

4.22 KB
Binary file not shown.

testdata/pal4rletrns.png

1.41 KB
Loading

0 commit comments

Comments
 (0)