mirror of
https://github.com/coredns/coredns.io.git
synced 2024-04-21 12:32:00 +00:00
35 lines
662 B
YAML
35 lines
662 B
YAML
name: Check Corefiles
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
-
|
|
name: Checkout
|
|
uses: actions/checkout@v2
|
|
-
|
|
name: Checkout CoreDNS
|
|
uses: actions/checkout@v2
|
|
with:
|
|
repository: coredns/coredns
|
|
path: .coredns
|
|
-
|
|
name: Setup Go Env
|
|
run: |
|
|
echo "::set-env name=GOPATH::$(go env GOPATH)"
|
|
echo "::add-path::$(go env GOPATH)/bin"
|
|
shell: bash
|
|
-
|
|
name: Deps
|
|
run: |
|
|
make deps
|
|
cd .coredns; make
|
|
-
|
|
name: Test
|
|
run: |
|
|
make test
|