mirror of
https://github.com/GoTestTools/gotestfmt-action.git
synced 2026-02-19 14:11:46 +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:
|
on:
|
||||||
push:
|
|
||||||
pull_request:
|
pull_request:
|
||||||
name: Self-test
|
name: Self-test
|
||||||
jobs:
|
jobs:
|
||||||
|
|
@ -15,6 +14,8 @@ jobs:
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Install gotestfmt
|
- name: Install gotestfmt
|
||||||
uses: ./
|
uses: ./
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
- name: Run gotestfmt
|
- name: Run gotestfmt
|
||||||
working-directory: testdata
|
working-directory: testdata
|
||||||
run: go test -json -v ./... 2>&1 | tee /tmp/gotest.log | gotestfmt
|
run: go test -json -v ./... 2>&1 | tee /tmp/gotest.log | gotestfmt
|
||||||
|
|
@ -37,6 +38,8 @@ jobs:
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Install gotestfmt
|
- name: Install gotestfmt
|
||||||
uses: ./
|
uses: ./
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GH_TOKEN }}
|
||||||
- name: Run gotestfmt
|
- name: Run gotestfmt
|
||||||
working-directory: testdata
|
working-directory: testdata
|
||||||
run: go test -json -v ./... 2>&1 | tee ./gotest.log | gotestfmt
|
run: go test -json -v ./... 2>&1 | tee ./gotest.log | gotestfmt
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue