Skip to content

Commit

Permalink
fix: issues with code climate usage
Browse files Browse the repository at this point in the history
  • Loading branch information
marcobrotas-prowarehouse committed Oct 17, 2024
1 parent a57f29e commit 83cca6a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 15 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,14 @@ jobs:
run: go get .
- name: Build
run: go build -v ./...
- name: Test
run: go test -race -v ./...
- name: Setup Code Climate test-reporter
run: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
./cc-test-reporter before-build
- name: Run and upload Code Climate tests
- name: Run tests and upload to Code Climate
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
run: |
./cc-test-reporter before-build
go test -race -coverprofile=c.out ./...
./cc-test-reporter after-build --exit-code $?
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ module github.com/io-da/command
go 1.21

require (
github.com/google/uuid v1.3.1
github.com/google/uuid v1.6.0
github.com/io-da/schedule v1.1.3
)
12 changes: 2 additions & 10 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
github.com/google/uuid v1.1.2 h1:EVhdT+1Kseyi1/pUmXKaFxYsDNy9RQYkMWRH68J/W7Y=
github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/uuid v1.3.1 h1:KjJaJ9iWZ3jOFZIf1Lqf4laDRCasjl0BCmnEGxkdLb4=
github.com/google/uuid v1.3.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/io-da/schedule v1.0.2 h1:JKtrC7AVBX2ThiLXpDv3J8+xqbyCMHdI+nzeA16Ak5w=
github.com/io-da/schedule v1.0.2/go.mod h1:Uf7nUIFoSRibe76mLVku/sIKcb5FfTervI1PsBb4Wks=
github.com/io-da/schedule v1.1.0 h1:vBgPUwh+T9BwDsCqfWTdkRLfLnWs+Zr5w4bXNVw/OyE=
github.com/io-da/schedule v1.1.0/go.mod h1:Uf7nUIFoSRibe76mLVku/sIKcb5FfTervI1PsBb4Wks=
github.com/io-da/schedule v1.1.2 h1:s4liF1GAjJXi0ahEVLh2vSnEYxCqbji9ZyUtsvOT+TY=
github.com/io-da/schedule v1.1.2/go.mod h1:5yfF28HYLrTCMZ7OaZbIys6XxqQfEZzfvDbxTSHR08o=
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/io-da/schedule v1.1.3 h1:zz38RlaliLz4KFOQmELCE5CIuzg4IPx5rYBB+Wg+nsI=
github.com/io-da/schedule v1.1.3/go.mod h1:5yfF28HYLrTCMZ7OaZbIys6XxqQfEZzfvDbxTSHR08o=

0 comments on commit 83cca6a

Please sign in to comment.