Skip to content

build(deps): bump golang.org/x/sync from 0.3.0 to 0.5.0 (#823) #1683

build(deps): bump golang.org/x/sync from 0.3.0 to 0.5.0 (#823)

build(deps): bump golang.org/x/sync from 0.3.0 to 0.5.0 (#823) #1683

Workflow file for this run

name: Test
permissions:
contents: read
on:
push:
branches:
- main
pull_request:
jobs:
pre-commit:
runs-on:
group: large-runners
labels: linux
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
fetch-depth: 0
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe
with:
go-version: 1.21.x
- uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236
with:
python-version: "3.x"
- name: install kustomize
run: make kustomize
- uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507
with:
extra_args: --show-diff-on-failure --from-ref ${{
github.event.pull_request.base.sha }} --to-ref ${{
github.event.pull_request.head.sha }}
env:
SKIP: go-mod-tidy,lint
test:
runs-on:
group: large-runners
labels: linux
steps:
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe
with:
go-version: 1.21.x
- name: set env vars
run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
fetch-depth: 0
- name: cache go binaries
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
id: cache-go-bin
with:
path: ~/go/bin
key: ${{ runner.os }}-${{ hashFiles('**/go.mod') }}
restore-keys: ${{ runner.os }}-go-bin
- uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
with:
path: |
~/go/pkg/mod
~/.cache/go-build
~/Library/Caches/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: ${{ runner.os }}-go-
- name: Lint
if: runner.os == 'Linux'
run: make lint
- name: test
if: runner.os == 'Linux'
run: make test
build:
runs-on:
group: large-runners
labels: linux
steps:
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe
with:
go-version: 1.21.x
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
- uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
with:
path: |
~/go/pkg/mod
~/.cache/go-build
~/Library/Caches/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: build
run: |
make build
build-docker:
runs-on:
group: large-runners
labels: linux
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
- name: build
run: make docker-build