Skip to content

chore: fix linting errors #545

chore: fix linting errors

chore: fix linting errors #545

Workflow file for this run

---
name: CI
on: [push, pull_request]
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
packages: read
pull-requests: write
statuses: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
# Use grep inverse matching to exclude eventual comments in the .env file
# because the GitHub Actions command to set environment variables doesn't
# support comments.
# Ref: https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-an-environment-variable
- name: Load Super-linter configuration
run: grep -v '^#' .github/linters/super-linter.env >> "$GITHUB_ENV"
- name: Super-Linter
uses: super-linter/super-linter@v8.5.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
setup_unix_like:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup dotfiles (${{ matrix.os }})
run: |
./setup.sh
strategy:
matrix:
os:
- macos-latest
- ubuntu-24.04
setup_windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup dotfiles (Windows)
run: |
powershell -executionpolicy bypass ".\setup-windows.ps1"
...