Skip to content

fix: Update GitHub Actions, tests and Go versions #41

fix: Update GitHub Actions, tests and Go versions

fix: Update GitHub Actions, tests and Go versions #41

Workflow file for this run

name: Unit Tests
on:
workflow_dispatch:
push:
branches: ["main"]
pull_request:
jobs:
build-format:
name: Build and Format
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.22
- name: Build Executable
run: go build -o ./tests/candy
- name: Clear the test cache
run: go clean -testcache
- name: Install Executable to $GOPATH/bin
run: go install
- name: Run Tests
run: go test -v ./tests/...