Skip to content

Migrate to use Makefile modules #159

Migrate to use Makefile modules

Migrate to use Makefile modules #159

Workflow file for this run

# This workflow runs unpriviledged unit tests.
name: unit-tests
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
VERSION: ${{ github.ref_name }}
jobs:
run_unit_tests:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- id: go-version
run: |
make print-go-version >> "$GITHUB_OUTPUT"
- uses: actions/setup-go@v5
with:
go-version: ${{ steps.go-version.outputs.result }}
- name: Run unit tests
run: make test-unit