Bump k8s.io/apimachinery from 0.23.3 to 0.32.0 in /internal/aws/k8s #6262
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: build-and-test-windows | |
on: | |
push: | |
branches: [ main ] | |
tags: | |
- 'v[0-9]+.[0-9]+.[0-9]+*' | |
pull_request: | |
env: | |
TEST_RESULTS: testbed/tests/results/junit/results.xml | |
jobs: | |
windows-unittest: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v2 | |
- name: Setup Go | |
uses: actions/setup-go@v2.1.5 | |
with: | |
go-version: 1.17 | |
- name: Setup Go Environment | |
run: | | |
echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV | |
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH | |
shell: bash | |
- name: Cache Go | |
uses: actions/cache@v2 | |
with: | |
path: | | |
\Users\runneradmin\go\pkg\mod | |
%LocalAppData%\go-build | |
key: v1-go-pkg-mod-${{ runner.os }}-${{ hashFiles('**/go.mod', '**/go.sum') }} | |
- name: Run Unit tests | |
# use default Go build tags from Makefile.common | |
run: go test --tags containers_image_openpgp,exclude_graphdriver_btrfs,exclude_graphdriver_devicemapper ./... | |
- name: GitHub Issue Generator | |
if: ${{ failure() && github.ref == 'ref/head/main' }} | |
run: | | |
cd internal/tools && go install go.opentelemetry.io/collector/cmd/issuegenerator | |
issuegenerator $TEST_RESULTS |