Skip to content

Commit 65e2747

Browse files
committed
chore(ci): fix github action
Signed-off-by: Vincent Mercier <vincmer@amazon.com>
1 parent f705b19 commit 65e2747

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/test.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: unittest
3-
on: # yamllint disable-line rule:truthy
3+
on: # yamllint disable-line rule:truthy
44
push:
55
branches:
66
- "*"
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/checkout@v4
2020
- uses: actions/setup-go@v5
2121
with:
22-
go-version: '1.22'
22+
go-version: "1.22"
2323
- name: Install dependencies
2424
run: |
2525
go get .
@@ -38,13 +38,13 @@ jobs:
3838
hide_complexity: true
3939
indicators: true
4040
output: both
41-
thresholds: '60 80'
41+
thresholds: "60 80"
4242
- uses: jwalton/gh-find-current-pr@v1
4343
id: finder
4444
- name: Add Coverage PR Comment
4545
uses: marocchino/sticky-pull-request-comment@v2
4646
with:
47-
number: ${{ steps.finder.outputs.pr }}
47+
number: ${{ github.event.pull_request.number }}
4848
path: code-coverage-results.md
4949
recreate: true
5050

@@ -102,8 +102,8 @@ jobs:
102102

103103
checkcov:
104104
permissions:
105-
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
106-
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
105+
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
106+
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
107107

108108
runs-on: ubuntu-latest
109109
steps:

0 commit comments

Comments
 (0)