Skip to content

Update golang:1.24 Docker digest to 62cc735 #429

Update golang:1.24 Docker digest to 62cc735

Update golang:1.24 Docker digest to 62cc735 #429

name: Feature branch workflow
on:
push:
branches-ignore:
- main
env:
GO_VERSION: 1.24
jobs:
go-lint:
name: Go Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
with:
go-version: ${{ env.GO_VERSION }}
cache: false
- name: Lint
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8
with:
version: latest
go-build:
name: Go Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
with:
go-version: ${{ env.GO_VERSION }}
cache: true
- name: Build
run: make build
go-test:
name: Go Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
with:
go-version: ${{ env.GO_VERSION }}
cache: true
- name: Test
run: make test
docker-build:
uses: ./.github/workflows/docker.yml
needs: ["go-lint", "go-build", "go-test"]
permissions:
id-token: write
packages: write
contents: read
with:
with-push: false
image-architectures: linux/amd64