Skip to content

Prepare and switch to cc-lib v2 #59

Prepare and switch to cc-lib v2

Prepare and switch to cc-lib v2 #59

Workflow file for this run

name: hostlist
on:
push:
paths:
- 'hostlist/**'
- 'go.sum'
- 'go.mod'
- '.github/workflows/hostlist.yml'
jobs:
hostlist:
name: Golang unit tests for hostlist
runs-on: ubuntu-latest
steps:
# See: https://github.com/marketplace/actions/checkout
# Checkout git repository and submodules
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
# See: https://github.com/marketplace/actions/setup-go-environment
- name: Setup Golang
uses: actions/setup-go@v5
with:
go-version: '1.23'
check-latest: true
# Run 'go test' in specified test target
- name: Run Golang tests
run: |
cd hostlist
go test