Skip to content

Bump golang from 1.20.6-alpine to 1.20.7-alpine #1659

Bump golang from 1.20.6-alpine to 1.20.7-alpine

Bump golang from 1.20.6-alpine to 1.20.7-alpine #1659

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
golangci-lint:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20.5
cache: true
cache-dependency-path: tools/golangci-lint/go.sum
- name: Lint code
run: make lint
format:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20.5
cache: true
cache-dependency-path: tools/gofumpt/go.sum
- name: Format code
run: make format
- name: Check for local changes
run: git diff --exit-code