Skip to content

Sync from internal repo (2024-09-25) #73

Sync from internal repo (2024-09-25)

Sync from internal repo (2024-09-25) #73

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