Skip to content

Commit 3e691ce

Browse files
Merge pull request #11 from KristofferRisa/ci/fix-go-matrix
ci: drop phantom Go 1.22 matrix legs and fix codecov input
2 parents 11e8ac1 + f454517 commit 3e691ce

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

‎.github/workflows/test.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
fail-fast: false
4646
matrix:
4747
os: [ubuntu-latest, macos-latest, windows-latest]
48-
go: ["1.23.x", "1.22.x"]
48+
go: ["1.23.x"]
4949

5050
steps:
5151
- name: Checkout code
@@ -73,7 +73,7 @@ jobs:
7373
if: matrix.os == 'ubuntu-latest' && matrix.go == '1.23.x'
7474
uses: codecov/codecov-action@v4
7575
with:
76-
file: ./coverage.txt
76+
files: ./coverage.txt
7777
fail_ci_if_error: false
7878
token: ${{ secrets.CODECOV_TOKEN }}
7979

‎CONTRIBUTING.md‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@ issue on merge.
3838

3939
## Development setup
4040

41-
You need Go 1.23 or newer (`go.mod` sets `go 1.23.0`). The CI matrix also
42-
lists 1.22.x, which works only via Go's automatic toolchain download — treat
43-
1.23 as the real floor.
41+
You need Go 1.23 or newer (`go.mod` sets `go 1.23.0`). CI tests against
42+
1.23.x on Linux, macOS and Windows.
4443

4544
```bash
4645
git clone https://github.com/kristofferrisa/powerctl-cli.git

0 commit comments

Comments
 (0)