Skip to content

Make changes to support testing individual commands, add a few tests #22

Make changes to support testing individual commands, add a few tests

Make changes to support testing individual commands, add a few tests #22

Workflow file for this run

name: "go-linter"
on:
pull_request:
types: [opened, synchronize, reopened]
merge_group:
workflow_dispatch:
push:
branches:
- 'main'
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
lint:
strategy:
fail-fast: false
runs-on: ubuntu-latest
env:
GOPROXY: https://proxy.golang.org/,direct
GOPRIVATE: ""
GONOPROXY: ""
GONOSUMDB: github.com/github/*
steps:
- uses: actions/setup-go@v5
with:
go-version: ${{ vars.GOVERSION }}
check-latest: true
- uses: actions/checkout@v4
- name: Lint
# This also does checkout, setup-go, and proxy setup.
uses: github/[email protected]
with:
strict: true
go-version: ${{ vars.GOVERSION }}
goproxy-token: ${{secrets.GOPROXY_TOKEN}}