Skip to content

Commit

Permalink
Merge pull request #9 from libdns/feature/automatic-testing-with-gh-a…
Browse files Browse the repository at this point in the history
…ctions

Added CI with unit tests
  • Loading branch information
MasterEvarior authored Apr 18, 2024
2 parents 9ab15b8 + 27c2c7a commit da232fd
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Go
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod

- name: Build
run: go build -v ./...

- name: Test
uses: robherley/go-test-action@v0

0 comments on commit da232fd

Please sign in to comment.