feat: delete sourcee will use preset alias #181
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: [push, pull_request] | |
jobs: | |
markdownlint: | |
name: 🍇 Markdown | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: 🚀 Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '14.x' | |
- run: npm install -g [email protected] | |
- run: markdownlint '**/*.md' --ignore node_modules assets | |
misspell: | |
name: runner/misspell | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code. | |
uses: actions/checkout@v3 | |
- name: Install | |
run: | | |
wget -O - -q https://git.io/misspell | sh -s -- -b . | |
- name: Misspell | |
run: | | |
find . -type f -maxdepth 1 | xargs ./misspell -error | |
find . -name "*.go" -type f | xargs ./misspell -error | |
trailing-whitespace: | |
name: Trailing whitespace | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Check for trailing whitespace | |
run: "! git grep -EIn $'[ \t]+$' ':(exclude)assets'" | |
golangci-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: latest |