Skip to content

chore(deps): pin yesolutions/mirror-action action to 662fce0 #4019

chore(deps): pin yesolutions/mirror-action action to 662fce0

chore(deps): pin yesolutions/mirror-action action to 662fce0 #4019

Workflow file for this run

name: Go-test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- name: Setup Go
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
with:
go-version: stable
- name: Build
run: go build -v ./...
- name: Test with the Go CLI
run: go test -v ./...
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
with:
go-version: stable
- name: golangci-lint
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9
with:
version: v2.12.2