mirror of
https://github.com/jangraefen/hcloud-pricing-exporter
synced 2024-11-10 05:54:15 +00:00
fix: codecov action
This commit is contained in:
parent
5aa5e697e9
commit
c8690bd9b1
3 changed files with 5 additions and 2 deletions
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
|
@ -90,6 +90,8 @@ jobs:
|
||||||
run: go test -v -race -covermode=atomic "-coverprofile=coverprofile.out" ./...
|
run: go test -v -race -covermode=atomic "-coverprofile=coverprofile.out" ./...
|
||||||
- name: Report coverage
|
- name: Report coverage
|
||||||
uses: codecov/codecov-action@v4
|
uses: codecov/codecov-action@v4
|
||||||
|
env:
|
||||||
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||||
with:
|
with:
|
||||||
file: coverprofile.out
|
file: coverprofile.out
|
||||||
fail_ci_if_error: true
|
fail_ci_if_error: true
|
||||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
||||||
.idea
|
.idea
|
||||||
*.iml
|
*.iml
|
||||||
|
dist
|
||||||
|
|
2
go.mod
2
go.mod
|
@ -1,6 +1,6 @@
|
||||||
module github.com/jangraefen/hcloud-pricing-exporter
|
module github.com/jangraefen/hcloud-pricing-exporter
|
||||||
|
|
||||||
go 1.20
|
go 1.22
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/hetznercloud/hcloud-go/v2 v2.6.0
|
github.com/hetznercloud/hcloud-go/v2 v2.6.0
|
||||||
|
|
Loading…
Reference in a new issue