Skip to content

Commit 2f5a7bd

Browse files
committed
Makefile.maker.yaml: remove Coveralls
This is required because of <sapcc/go-makefile-maker#351>.
1 parent aa91483 commit 2f5a7bd

File tree

2 files changed

+23
-8
lines changed

2 files changed

+23
-8
lines changed

.github/workflows/ci.yaml

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,24 @@ jobs:
3333
with:
3434
check-latest: true
3535
go-version: 1.24.6
36+
code_coverage:
37+
name: Code coverage report
38+
if: github.event_name == 'pull_request'
39+
needs:
40+
- test
41+
runs-on: ubuntu-latest
42+
steps:
43+
- name: Check out code
44+
uses: actions/checkout@v5
45+
- name: Post coverage report
46+
uses: fgrosse/go-coverage-report@v1.2.0
47+
with:
48+
coverage-artifact-name: code-coverage
49+
coverage-file-name: cover.out
50+
permissions:
51+
actions: read
52+
contents: read
53+
pull-requests: write
3654
test:
3755
name: Test
3856
needs:
@@ -48,10 +66,8 @@ jobs:
4866
go-version: 1.24.6
4967
- name: Run tests and generate coverage report
5068
run: make build/cover.out
51-
- name: Upload coverage report to Coveralls
52-
env:
53-
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54-
GIT_BRANCH: ${{ github.head_ref }}
55-
run: |
56-
go install github.com/mattn/goveralls@latest
57-
goveralls -service=github -coverprofile=build/cover.out
69+
- name: Archive code coverage results
70+
uses: actions/upload-artifact@v4
71+
with:
72+
name: code-coverage
73+
path: build/cover.out

Makefile.maker.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ golangciLint:
2727
githubWorkflow:
2828
ci:
2929
enabled: true
30-
coveralls: true
3130
license:
3231
ignorePatterns:
3332
# vendored copies from upstream

0 commit comments

Comments
 (0)