Skip to content

Commit

Permalink
Updated github workflow. (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrj committed Oct 5, 2022
1 parent 33d7d1a commit f6fd07b
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -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:

Expand All @@ -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 .
Expand Down

0 comments on commit f6fd07b

Please sign in to comment.