mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2026-01-06 06:49:36 -05:00
ci: make website check separate workflow
This commit is contained in:
parent
7a49aae8c8
commit
3abf5152ea
4 changed files with 36 additions and 3 deletions
2
.github/workflows/compile.yaml
vendored
2
.github/workflows/compile.yaml
vendored
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
name: Compile Tests
|
||||
name: Compile Binaries
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
|
|
|
|||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
1
.github/workflows/unit-test.yaml
vendored
1
.github/workflows/unit-test.yaml
vendored
|
|
@ -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
34
.github/workflows/website.yaml
vendored
Normal 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
|
||||
|
||||
|
||||
Loading…
Reference in a new issue