Bump github.com/docker/docker from 20.10.24+incompatible to 24.0.7+in… #284
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: go | |
on: | |
push: | |
branches: [ main, master ] | |
pull_request: | |
branches: [ main, master ] | |
jobs: | |
build: | |
name: test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.20 | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '1.20' | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v1 | |
- name: Test | |
run: | | |
mkdir ./bin | |
HELM_VERSION=v3.11.1 | |
HELM_LOCATION="https://get.helm.sh" | |
HELM_FILENAME="helm-${HELM_VERSION}-linux-amd64.tar.gz" | |
curl -LO ${HELM_LOCATION}/${HELM_FILENAME} && \ | |
echo Extracting ${HELM_FILENAME}... && \ | |
tar zxvf ${HELM_FILENAME} && mv linux-amd64/helm ./bin/ && \ | |
rm ${HELM_FILENAME} && rm -r linux-amd64 | |
curl -Ls "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash | |
mv kustomize ./bin/ | |
export PATH=$(pwd -P)/bin:$PATH | |
helm repo add stable https://charts.helm.sh/stable | |
CGO_ENABLED=0 go test ./... |