Skip to content

Merge pull request #5 from Viktor45/dependabot/github_actions/actions… #30

Merge pull request #5 from Viktor45/dependabot/github_actions/actions…

Merge pull request #5 from Viktor45/dependabot/github_actions/actions… #30

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
unittest:
name: Go tests
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v7
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
cache: true
- name: Run tests
run: go test ./...
- name: Run vet
run: go vet ./...
- name: Build
run: go build .