Skip to content

Commit

Permalink
chore: run tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
wbollock committed Mar 3, 2023
1 parent f77b792 commit 268ca8b
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/golang-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Go Test

on:
push:
tags:
- v*
branches: [main]
pull_request:

permissions:
contents: read

jobs:
build-and-test:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '1.19'

- name: Install dependencies
run: go mod download

- name: Run tests
run: go test ./tests

0 comments on commit 268ca8b

Please sign in to comment.