This repository has been archived by the owner on Apr 15, 2024. It is now read-only.
ci: add e2e go.mod to dependabot #954
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: | |
workflow_call: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
markdown-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: celestiaorg/.github/.github/actions/markdown-lint@main | |
golangci: | |
name: golangci-lint | |
runs-on: ubuntu-latest | |
timeout-minutes: 8 | |
env: | |
GO111MODULE: on | |
steps: | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '1.21.1' | |
- uses: actions/checkout@v4 | |
- uses: technote-space/[email protected] | |
with: | |
PATTERNS: | | |
**/**.go | |
go.mod | |
go.sum | |
- uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.54 | |
args: --timeout 10m | |
github-token: ${{ secrets.github_token }} | |
if: env.GIT_DIFF |