Prepare and switch to cc-lib v2 #59
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |