chore: remove latest tagging from release process v1.39 #3722
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: PR unit tests (windows) | |
# Triggers the workflow on push or pull request events | |
on: [push, pull_request] | |
permissions: read-all | |
concurrency: | |
group: build-${{ github.event.pull_request.number || github.ref }}-${{github.workflow}} | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: PR unit tests (windows) | |
runs-on: windows-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19.* | |
id: go | |
# Retrieve build locations with `go env` | |
# <https://markphelps.me/posts/speed-up-your-go-builds-with-actions-cache/> | |
- id: go-cache-paths | |
run: | | |
echo "::set-output name=go-build::$(go env GOCACHE)" | |
echo "::set-output name=go-mod::$(go env GOMODCACHE)" | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
${{ steps.go-cache-paths.outputs.go-build }} | |
${{ steps.go-cache-paths.outputs.go-mod }} | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
# TODO(aaron-prindle) skip integration tests for doc only changes on Windows. Figure out the proper syntax, etc. | |
- name: Run skaffold unit tests on windows | |
run: | | |
go test -short -timeout 60s ./pkg/skaffold/... ./cmd/... ./hack/... ./pkg/webhook/... |