Merge pull request #871 from carvel-dev/bump-go-1.21.1 #1877
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test-all | |
on: | |
push: | |
branches: | |
- develop | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
test-all: | |
name: Test All | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: "1.21.1" | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v2 | |
with: | |
path: src/github.com/${{ github.repository }} | |
fetch-depth: 0 | |
- name: Run Tests | |
run: | | |
set -e -x | |
export GOPATH=$(pwd) | |
cd src/github.com/${{ github.repository }} | |
./hack/build.sh | |
./hack/test-all.sh | |
./hack/build-binaries.sh |