Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,16 +134,14 @@ jobs:

- name: "Merge Code Coverage"
run: |
# go install github.com/wadey/gocovmerge@v0.0.0-20160331181800-b5bfa59ec0ad
# ~/go/bin/gocovmerge coverage/*.out > coverage.txt
awk 'FNR==1 && NR!=1 {next} {print}' coverage/*.out > coverage.txt

- name: "Upload Code Coverage"
uses: codecov/codecov-action@v5
- name: "Annotate PR with coverage"
uses: atlassian/github-checks-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.txt
fail_ci_if_error: true
summary: 'Coverage check'
reportPaths: 'coverage.txt'
failOnError: false


ci-debian-build:
Expand Down
2 changes: 2 additions & 0 deletions api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
Version string `json:"Version"`
}

const answer = 43

Check failure on line 31 in api/api.go

View workflow job for this annotation

GitHub Actions / lint

const `answer` is unused (unused)

// @Summary Aptly Version
// @Description **Get aptly version**
// @Description
Expand Down
Loading