aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/test.yml
blob: 21e55021af1b92fb383c1922eb460304b4bd1b73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
name: Go
on: [push]
jobs:
  build:
    name: Build
    runs-on: ubuntu-latest
    steps:
    - uses: actions/setup-go@v2
      with:
        go-version: '1.17.6'
    - uses: actions/checkout@v2
    - run: |
        go get -v -t -d ./...
    - run: go test ./...
    - run: go build -ldflags="-s -w" ./cmd/bareos-zabbix-check/