diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 7037c6b..aa2ce81 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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 $? diff --git a/go.mod b/go.mod index 03ca71d..d20b675 100644 --- a/go.mod +++ b/go.mod @@ -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 ) diff --git a/go.sum b/go.sum index 6f1e1e8..08e91dc 100644 --- a/go.sum +++ b/go.sum @@ -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=