1
0
mirror of https://github.com/danog/liquid.git synced 2024-11-26 21:24:40 +01:00

Rename golantci-lint -> Lint; run only master

This commit is contained in:
Oliver Steele 2021-07-06 10:18:22 +08:00
parent 522f0b321b
commit 94c219b2c3
2 changed files with 15 additions and 6 deletions

View File

@ -1,10 +1,19 @@
name: golangci-lint
on: [push, pull_request]
name: Lint
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
- name: Checkout
uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2

View File

@ -230,7 +230,7 @@ MIT License
[go-url]: https://github.com/osteele/liquid/actions?query=workflow%3A%22Build+Status%22
[go-svg]: https://github.com/osteele/liquid/actions/workflows/go.yml/badge.svg
[golangci-lint-url]: https://github.com/osteele/liquid/actions?query=workflow%3Agolangci-lint
[golangci-lint-url]: https://github.com/osteele/liquid/actions?query=workflow%3Lint
[golangci-lint-svg]: https://github.com/osteele/liquid/actions/workflows/golangci-lint.yml/badge.svg
[godoc-url]: https://godoc.org/github.com/osteele/liquid