ci: make website check separate workflow

This commit is contained in:
Manuel Vogel 2020-11-11 09:27:25 +01:00
parent 7a49aae8c8
commit 3abf5152ea
No known key found for this signature in database
GPG key ID: 24E54F214569A8A5
4 changed files with 36 additions and 3 deletions

View file

@ -1,5 +1,5 @@
---
name: Compile Tests
name: Compile Binaries
on:
push:
branches:

View file

@ -9,7 +9,7 @@
# You will need to pass the `--batch` flag to `gpg` in your signing step
# in `goreleaser` to indicate this is being used in a non-interactive mode.
#
name: release
name: Release
on:
push:
tags:

View file

@ -30,6 +30,5 @@ jobs:
- run: bash scripts/gogetcookie.sh
- run: make vet
- run: make test
- run: make website-test

34
.github/workflows/website.yaml vendored Normal file
View file

@ -0,0 +1,34 @@
---
name: Website
on:
push:
branches:
- master
- "release/**"
pull_request:
types: ['opened', 'synchronize']
paths:
- '**.go'
- 'vendor/**'
- '.github/workflows/**'
env:
GO_VERSION: "1.15"
GOPROXY: https://gocenter.io,https://proxy.golang.org,direct
GOPATH: "~/go"
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.15'
- run: cat /etc/issue
- run: bash scripts/gogetcookie.sh
- run: make website-test