Skip to content

build(deps): bump actions/setup-go from 5.1.0 to 5.2.0 #784

build(deps): bump actions/setup-go from 5.1.0 to 5.2.0

build(deps): bump actions/setup-go from 5.1.0 to 5.2.0 #784

Workflow file for this run

name: CI
on:
push:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4.2.2
- name: Get latest Go version
id: gover
run: echo goversion=$(grep "AS apk" Dockerfile.test | awk -F':|-' '!/^#/ {print $2}') >> "$GITHUB_OUTPUT"
- name: Set up Go
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # tag=v5.2.0
with:
go-version: "${{ steps.gover.outputs.goversion }}"
- run: go test -race ./...
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4.2.2
- name: Get latest Go version
id: gover
run: echo goversion=$(grep "AS apk" Dockerfile.test | awk -F':|-' '!/^#/ {print $2}') >> "$GITHUB_OUTPUT"
- name: Set up Go
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # tag=v5.2.0
with:
go-version: "${{ steps.gover.outputs.goversion }}"
- name: golangci-lint
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # tag=v3.7.1
with:
version: v1.60.1
args: --timeout=5m
integration:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4.2.2
- run: docker build -f Dockerfile.test .