Skip to content

Sync from internal repo (2024-04-15) #41

Sync from internal repo (2024-04-15)

Sync from internal repo (2024-04-15) #41

Workflow file for this run

name: Go
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.18', 'stable']
name: Go ${{ matrix.go }}
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: latest