Skip to content

fix: allow for custom URL and inital testing #4

fix: allow for custom URL and inital testing

fix: allow for custom URL and inital testing #4

Workflow file for this run

name: Unit Tests
on:
push:
branches: [main]
paths:
- '**.go'
- 'go.mod'
- 'go.sum'
- '.github/workflows/unit-test.yml'
pull_request:
branches: [main]
paths:
- '**.go'
- 'go.mod'
- 'go.sum'
- '.github/workflows/unit-test.yml'
permissions:
contents: read
jobs:
unit-test:
name: Build & Unit Test
runs-on: ubuntu-slim
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: true
- name: Run Unit Tests
run: go test -short -v ./...