summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/go.yml8
-rw-r--r--.github/workflows/issue_reviver.yml4
2 files changed, 7 insertions, 5 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index 18b805c15..4da3853b2 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -14,9 +14,9 @@ jobs:
- id: setup
run: |
if ! [[ -z "${{ secrets.GO_TOKEN }}" ]]; then
- echo ::set-output has_token=true
+ echo ::set-output name=has_token::true
else
- echo ::set-output has_token=false
+ echo ::set-output name=has_token::false
fi
- run: |
jq -nc '{"state": "pending", "context": "go tests"}' | \
@@ -49,7 +49,9 @@ jobs:
key: ${{ runner.os }}-bazel-${{ hashFiles('WORKSPACE') }}
restore-keys: |
${{ runner.os }}-bazel-
- - run: make build TARGETS="//:gopath"
+ - run: |
+ rm -rf bazel-bin/gopath
+ make build TARGETS="//:gopath"
- run: tools/go_branch.sh
- run: git checkout go && git clean -f
- run: go build ./...
diff --git a/.github/workflows/issue_reviver.yml b/.github/workflows/issue_reviver.yml
index e68e15270..2b399a3f2 100644
--- a/.github/workflows/issue_reviver.yml
+++ b/.github/workflows/issue_reviver.yml
@@ -8,9 +8,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- if: github.repository == "google/gvisor"
+ if: github.repository == 'google/gvisor'
- run: make run TARGETS="//tools/issue_reviver"
- if: github.repository == "google/gvisor"
+ if: github.repository == 'google/gvisor'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}