Add Shiori integration #773
Workflow file for this run
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: Linters | |
permissions: read-all | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
jshint: | |
name: Javascript Linter | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install jshint | |
run: | | |
sudo npm install -g [email protected] | |
- name: Run jshint | |
run: jshint ui/static/js/*.js | |
golangci: | |
name: Golang Linter | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: "1.21" | |
- uses: golangci/golangci-lint-action@v3 | |
with: | |
args: --timeout 10m --skip-dirs tests --disable errcheck --enable sqlclosecheck --enable misspell --enable gofmt --enable goimports --enable whitespace |