fix: codecov action

This commit is contained in:
Jan Henkel 2024-05-29 21:20:25 +02:00
parent 5aa5e697e9
commit c8690bd9b1
3 changed files with 5 additions and 2 deletions

View file

@ -90,6 +90,8 @@ jobs:
run: go test -v -race -covermode=atomic "-coverprofile=coverprofile.out" ./...
- name: Report coverage
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
file: coverprofile.out
fail_ci_if_error: true

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
.idea
*.iml
dist

2
go.mod
View file

@ -1,6 +1,6 @@
module github.com/jangraefen/hcloud-pricing-exporter
go 1.20
go 1.22
require (
github.com/hetznercloud/hcloud-go/v2 v2.6.0