Skip to content

Add Hash renv.lock field (#26) #142

Add Hash renv.lock field (#26)

Add Hash renv.lock field (#26) #142

Workflow file for this run

name: Lint 🧢
on:
push:
branches:
- main
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
branches:
- main
workflow_dispatch:
concurrency:
group: lint-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
Lint:
name: SuperLinter πŸ¦ΈπŸ»β€β™€οΈ
runs-on: ubuntu-latest
steps:
- name: Checkout Repo πŸ›Ž
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Lint Code Base πŸ•΅πŸ»β€β™€οΈ
uses: super-linter/super-linter/slim@v6
env:
LINTER_RULES_PATH: /
VALIDATE_ALL_CODEBASE: false
VALIDATE_GITHUB_ACTIONS: true
VALIDATE_MARKDOWN: true
VALIDATE_DOCKERFILE_HADOLINT: true
VALIDATE_GITLEAKS: true
DEFAULT_BRANCH: main
VALIDATE_JSON: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GoLint:
name: Lint Go Code πŸ”
runs-on: ubuntu-latest
strategy:
matrix:
go-version:
- 1.21.3
steps:
- name: Checkout Repo πŸ›Ž
uses: actions/checkout@v4
- name: Setup Go 🐹
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache: true
cache-dependency-path: go.sum
- name: Lint Go Code πŸ•΅πŸ»β€β™‚οΈ
uses: golangci/golangci-lint-action@v4
with:
version: latest
only-new-issues: false