File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,14 +21,13 @@ permissions:
2121
2222jobs :
2323 build-and-verify :
24- uses : Open-CMSIS-Pack/workflows-and-actions-collection/.github/workflows/build-and-verify.yml@v1.0.0
24+ uses : Open-CMSIS-Pack/workflows-and-actions-collection/.github/workflows/build-and-verify.yml@v1.0.1
2525 secrets :
2626 QLTY_COVERAGE_TOKEN : ${{ secrets.QLTY_COVERAGE_TOKEN }}
2727 with :
2828 program : cbuild2cmake
2929 go-version-file : ./go.mod
30- enable-code-climate : true
31- artifact-retention-days : 7
30+ enable-qlty-coverage : true
3231
3332 publish-test-results :
3433 name : " Publish Tests Results"
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ permissions: read-all
1212
1313jobs :
1414 markdown-check :
15- uses : Open-CMSIS-Pack/workflows-and-actions-collection/.github/workflows/markdown-lint.yml@v1.0.0
15+ uses : Open-CMSIS-Pack/workflows-and-actions-collection/.github/workflows/markdown-lint.yml@v1.0.1
1616 with :
1717 lint-config : ' .github/markdownlint.jsonc'
1818 link-check-config : ' .github/markdown-link-check.jsonc'
Original file line number Diff line number Diff line change 1212
1313jobs :
1414 build-and-verify :
15- uses : Open-CMSIS-Pack/workflows-and-actions-collection/.github/workflows/build-and-verify.yml@v1.0.0
15+ uses : Open-CMSIS-Pack/workflows-and-actions-collection/.github/workflows/build-and-verify.yml@v1.0.1
1616 with :
1717 program : cbuild2cmake
1818 go-version-file : ./go.mod
19- enable-code-climate : false
19+ enable-qlty-coverage : false
2020
2121 goreleaser :
2222 needs : [ build-and-verify ]
Original file line number Diff line number Diff line change @@ -11,6 +11,6 @@ permissions:
1111
1212jobs :
1313 update-workflows :
14- uses : Open-CMSIS-Pack/workflows-and-actions-collection/.github/workflows/update-workflow.yml@v1.0.0
14+ uses : Open-CMSIS-Pack/workflows-and-actions-collection/.github/workflows/update-workflow.yml@v1.0.1
1515 secrets :
1616 TOKEN_ACCESS : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -72,16 +72,16 @@ format-check:
7272
7373.PHONY : test release config
7474test : $(SOURCES )
75- mkdir -p build && GOOS=$(OS ) GOARCH=$(ARCH ) go test $(ARGS ) -v ./... -coverprofile build/ cover.out
75+ GOOS=$(OS ) GOARCH=$(ARCH ) go test $(ARGS ) -v ./... -coverprofile cover.out
7676
7777test-all : format-check coverage-check lint
7878
7979coverage-report : test
80- go tool cover -html=build/ cover.out
80+ go tool cover -html=cover.out
8181
8282coverage-check : test
8383 @echo Checking if test coverage is above 80%
84- test ` go tool cover -func build/ cover.out | tail -1 | awk ' {print ($$3 + 0)*10}' ` -ge 800
84+ test ` go tool cover -func cover.out | tail -1 | awk ' {print ($$3 + 0)*10}' ` -ge 800
8585
8686release : test-all $(PROG )
8787 @./scripts/release
You can’t perform that action at this time.
0 commit comments