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:
parent
522f0b321b
commit
94c219b2c3
19
.github/workflows/golangci-lint.yml
vendored
19
.github/workflows/golangci-lint.yml
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user