As 3062 update attestationi api to work with ruptela payloads #101
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: golangci-lint | |
on: | |
pull_request: | |
branches: ["**"] | |
push: | |
branches: | |
- main | |
env: | |
GOPRIVATE: github.com/DIMO-Network | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
golangci: | |
# Condition to skip merge commits | |
if: "!contains(github.event.head_commit.message, 'Merge pull request')" | |
runs-on: ubuntu-latest | |
name: lint | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
- name: build | |
run: make build | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: latest | |
only-new-issues: false | |
args: --modules-download-mode=readonly --timeout=5m |