Bump github.com/aws/aws-sdk-go from 1.30.13 to 1.45.19 #25
Workflow file for this run
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: unit-test | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
unit-test: | |
if: github.repository_owner == 'keikoproj' | |
name: unit-test | |
runs-on: ubuntu-18.04 | |
steps: | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ^1.13 | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v2 | |
- name: Get kubebuilder | |
env: | |
version: 2.3.1 # latest stable version | |
arch: amd64 | |
run: | | |
# download the release | |
curl -L -O "https://github.com/kubernetes-sigs/kubebuilder/releases/download/v2.3.1/kubebuilder_2.3.1_linux_amd64.tar.gz" | |
# extract the archive | |
tar -zxvf kubebuilder_${version}_linux_${arch}.tar.gz | |
mv kubebuilder_${version}_linux_${arch} kubebuilder && sudo mv kubebuilder /usr/local/ | |
# update your PATH to include /usr/local/kubebuilder/bin | |
export PATH=$PATH:/usr/local/kubebuilder/bin | |
- name: Build | |
run: | | |
make manager | |
- name: Test | |
run: | | |
make test | |
- name: Upload to Codecov | |
uses: codecov/codecov-action@v1 | |
with: | |
file: ./coverage.txt |