mirror of
https://github.com/danog/liquid.git
synced 2024-11-26 21:34:44 +01:00
Rename go action -> Build Status; only apply to main and master
This commit is contained in:
parent
0bc5e4c93e
commit
522f0b321b
14
.github/workflows/go.yml
vendored
14
.github/workflows/go.yml
vendored
@ -1,5 +1,11 @@
|
||||
name: Build and Test
|
||||
on: [push, pull_request]
|
||||
name: Build Status
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main, master ]
|
||||
pull_request:
|
||||
branches: [ main, master ]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
strategy:
|
||||
@ -7,14 +13,18 @@ jobs:
|
||||
go-version: [1.15.x, 1.16.x]
|
||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: ${{ matrix.go-version }}
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Build
|
||||
run: go build -v ./...
|
||||
|
||||
- name: Test
|
||||
run: go test ./...
|
||||
|
@ -227,7 +227,7 @@ MIT License
|
||||
[coveralls-url]: https://coveralls.io/r/osteele/liquid?branch=master
|
||||
[coveralls-svg]: https://img.shields.io/coveralls/osteele/liquid.svg?branch=master
|
||||
|
||||
[go-url]: https://github.com/osteele/liquid/actions?query=workflow%3A%22Build+and+Test%22
|
||||
[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
|
||||
|
Loading…
Reference in New Issue
Block a user