Skip to content

Merge pull request #5 from Dup4/feat-support-typst #33

Merge pull request #5 from Dup4/feat-support-typst

Merge pull request #5 from Dup4/feat-support-typst #33

Workflow file for this run

name: Code Analysis
on:
push:
pull_request:
branches:
- main
paths:
- "**/*.go"
- "go.mod"
- "go.sum"
- ".github/workflows/code.analysis.yml"
env:
GO_VERSION: "1.20"
jobs:
analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION}}
- name: Revive Action
uses: morphy2k/[email protected]
- name: Check formatting
run: test -z $(gofmt -l .) || (gofmt -l . && exit 1)
- name: misspell
uses: sobolevn/[email protected]