Skip to content

Commit

Permalink
Merge pull request #9 from dnstapir/actions
Browse files Browse the repository at this point in the history
add build action
  • Loading branch information
eest authored May 8, 2024
2 parents aae8051 + 72e65c8 commit 759aae1
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Go

on: [push]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.22.1']

steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Display Go version
run: go version
- name: Install dependencies
run: go mod download
- name: Vet
run: go vet -v
- name: Test
run: go test -v
- name: Build
run: go build -v

0 comments on commit 759aae1

Please sign in to comment.