Skip to content

chore: Add more linters #1

chore: Add more linters

chore: Add more linters #1

Workflow file for this run

name: MegaLinter
on:
pull_request:
push:
branches:
- master
tags:
- v*
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
pull-requests: write
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0
- uses: oxsecurity/megalinter/flavors/go@190cd0dad6dc52b2de5b810e3b290c3d6bdcc0f2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Archive production artifact
if: success() || failure()
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3
with:
name: MegaLinter reports
path: |
megalinter-reports
mega-linter.log