Skip to content

Commit

Permalink
add: tests on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelemusiani committed May 22, 2024
1 parent 2ccd308 commit e20a102
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Go
on:
- push
- pull_request

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22.x'
- name: Install dependencies
run: go get .
- name: Build
run: go build -v ./...
- name: Test with the Go CLI
run: go test

0 comments on commit e20a102

Please sign in to comment.