Skip to content

pass lint and shellcheck ci #4

pass lint and shellcheck ci

pass lint and shellcheck ci #4

Workflow file for this run

name: golangci-lint
on:
push:
branches:
- '**'
permissions:
contents: read
# Optional: allow read access to pull requests. Use with `only-new-issues` option.
# pull-requests: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
env:
GOPRIVATE: github.com/sagaxyz/*
steps:
- name: Set up access to private Go modules
env:
GITHUB_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
GITHUB_USER: ${{ secrets.GH_USER }}
run: git config --global url."https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com".insteadOf "https://github.com"
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version-file: './go.mod'
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
args: --timeout 600s