File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 runs-on : ubuntu-20.04
66 env :
77 GO111MODULE : off
8- TRAVIS : " true"
9- TRAVIS_BRANCH : ${{ github.base_ref }}
10- TRAVIS_PULL_REQUEST_BRANCH : ${{ github.head_ref }}
11- TRAVIS_PULL_REQUEST_SHA : ${{ github.event.pull_request.head.sha }}
128 steps :
139 - name : Install Go
1410 uses : actions/setup-go@v2
1511 with :
1612 go-version : " 1.16"
17- - name : Setup GOPATH
18- run : |
19- echo "TRAVIS_BRANCH: ${TRAVIS_BRANCH}"
20- echo "TRAVIS_PULL_REQUEST_BRANCH: ${TRAVIS_PULL_REQUEST_BRANCH}"
21- echo "TRAVIS_PULL_REQUEST_SHA: ${TRAVIS_PULL_REQUEST_SHA}"
22- echo "TRAVIS: ${TRAVIS}"
2313 - name : Checkout code
2414 uses : actions/checkout@v2
2515 with :
2919 run : |
3020 echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV
3121 echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
32- - name : Setup travis references
33- run : |
34- echo "TRAVIS_BRANCH=${TRAVIS_BRANCH:-$(echo $GITHUB_REF | awk 'BEGIN { FS = \"/\" } ; { print $3 }')}"
3522 - name : Setup
3623 run : |
3724 ci_repo=$(go env GOPATH)/src/github.com/kata-containers/ci
You can’t perform that action at this time.
0 commit comments