Skip to content

Merge pull request #17 from speakeasy-api/improve-api-for-repeat-envi… #83

Merge pull request #17 from speakeasy-api/improve-api-for-repeat-envi…

Merge pull request #17 from speakeasy-api/improve-api-for-repeat-envi… #83

Workflow file for this run

name: lint
on:
push:
branches:
- main
pull_request:
env:
GOPRIVATE: "github.com/speakeasy-api"
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Configure git for private modules
env:
GIT_AUTH_TOKEN: ${{ secrets.BOT_REPO_TOKEN }}
run: git config --global url."https://speakeasybot:${GITHUB_TOKEN}@github.com".insteadOf "https://github.com"
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.52.2