Skip to content

Merge remote-tracking branch 'upstream/main' #1

Merge remote-tracking branch 'upstream/main'

Merge remote-tracking branch 'upstream/main' #1

Workflow file for this run

name: Lint check
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
env:
GITHUB_ACTIONS: true
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with: { fetch-depth: 1 }
- uses: actions/setup-go@v3
with: { go-version: '1.x' }
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.53.3
args: -v -c .golangci.yml
only-new-issues: true
prettify:
name: Prettify
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with: { fetch-depth: 1 }
- name: Install dependencies
run: npm i -g npm@8 && npm i -g prettier
- name: Check markdown files
run: prettier --prose-wrap never --check **/*.md