mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-05 15:37:19 +00:00
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](41dfa10bad...3041bf56c9
)
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
38 lines
977 B
YAML
38 lines
977 B
YAML
name: Setup build env
|
|
|
|
description: Clone repo, unshallow, setup go, cache and install tools.
|
|
|
|
inputs:
|
|
unshallow:
|
|
description: git unshallow
|
|
default: 'true'
|
|
free-disk-space:
|
|
description: free disk space
|
|
default: 'true'
|
|
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
|
|
if: ${{ inputs.free-disk-space == 'true' }}
|
|
with:
|
|
android: true
|
|
docker-images: false
|
|
dotnet: true
|
|
haskell: true
|
|
large-packages: false
|
|
swap-storage: false
|
|
tool-cache: true
|
|
- shell: bash
|
|
if: ${{ inputs.unshallow == 'true' }}
|
|
run: |
|
|
git fetch --prune --unshallow
|
|
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
|
|
with:
|
|
go-version: ~1.23.1
|
|
- shell: bash
|
|
run: |
|
|
go mod download
|
|
- shell: bash
|
|
run: |
|
|
GOCACHE=~/.cache/kyverno/tools make install-tools
|