Skip to content

Commit 5cce442

Browse files
committed
Updated workflow versions
1 parent 754e591 commit 5cce442

5 files changed

Lines changed: 9 additions & 10 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,13 @@ permissions:
2121

2222
jobs:
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"

.github/workflows/markdown.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions: read-all
1212

1313
jobs:
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'

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ on:
1212

1313
jobs:
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 ]

.github/workflows/update-workflows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ permissions:
1111

1212
jobs:
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 }}

makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,16 +72,16 @@ format-check:
7272

7373
.PHONY: test release config
7474
test: $(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

7777
test-all: format-check coverage-check lint
7878

7979
coverage-report: test
80-
go tool cover -html=build/cover.out
80+
go tool cover -html=cover.out
8181

8282
coverage-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

8686
release: test-all $(PROG)
8787
@./scripts/release

0 commit comments

Comments
 (0)