From f6fd07b15972c858926a81103b85f9f2672884a2 Mon Sep 17 00:00:00 2001 From: Christian Joergensen Date: Wed, 5 Oct 2022 06:36:08 -0400 Subject: [PATCH] Updated github workflow. (#6) --- .github/workflows/go.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index d31e87f..6277334 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -1,15 +1,17 @@ -name: Go +name: prometheus-dnssec-exporter on: push: branches: [ master ] pull_request: branches: [ master ] + schedule: + - cron: '12 0 * * *' jobs: build: - name: Build + name: Build and Test runs-on: ubuntu-latest steps: @@ -19,16 +21,11 @@ jobs: go-version: ^1.13 id: go - - name: Check out code into the Go module directory + - name: Check out the code uses: actions/checkout@v2 - name: Get dependencies - run: | - go get -v -t -d ./... - if [ -f Gopkg.toml ]; then - curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh - dep ensure - fi + run: go get -v -t -d ./... - name: Build run: go build -v .