mirror of
https://github.com/GoTestTools/gotestfmt-action.git
synced 2026-02-08 00:37:27 +00:00
added token to install (#7)
* added token to install * removed on push trigger for selftest
This commit is contained in:
parent
e110d38b81
commit
ea487b2cee
1 changed files with 4 additions and 1 deletions
5
.github/workflows/selftest.yml
vendored
5
.github/workflows/selftest.yml
vendored
|
|
@ -1,5 +1,4 @@
|
|||
on:
|
||||
push:
|
||||
pull_request:
|
||||
name: Self-test
|
||||
jobs:
|
||||
|
|
@ -15,6 +14,8 @@ jobs:
|
|||
uses: actions/checkout@v2
|
||||
- name: Install gotestfmt
|
||||
uses: ./
|
||||
with:
|
||||
token: ${{ secrets.GH_TOKEN }}
|
||||
- name: Run gotestfmt
|
||||
working-directory: testdata
|
||||
run: go test -json -v ./... 2>&1 | tee /tmp/gotest.log | gotestfmt
|
||||
|
|
@ -37,6 +38,8 @@ jobs:
|
|||
uses: actions/checkout@v2
|
||||
- name: Install gotestfmt
|
||||
uses: ./
|
||||
with:
|
||||
token: ${{ secrets.GH_TOKEN }}
|
||||
- name: Run gotestfmt
|
||||
working-directory: testdata
|
||||
run: go test -json -v ./... 2>&1 | tee ./gotest.log | gotestfmt
|
||||
|
|
|
|||
Loading…
Reference in a new issue