Unit Tests: PR #3311 - Fix linter for v8 #1653
Workflow file for this run
This file contains 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: Unit Tests | |
run-name: >- | |
Unit Tests: | |
${{ github.event_name == 'pull_request' | |
&& format('PR #{0} - {1}', github.event.pull_request.number, github.event.pull_request.title) | |
|| format('{0} to {1}', github.event_name, github.ref_name) | |
}} | |
on: | |
workflow_dispatch: | |
push: | |
tags: | |
- "v9.*" | |
- "v8.*" | |
- "v7.*" | |
pull_request: | |
branches: | |
- main | |
- v9 | |
- v8 | |
- v7 | |
paths-ignore: | |
- "doc/**" | |
- ".gitpod.yml" | |
- "README.md" | |
permissions: | |
contents: read | |
jobs: | |
unit-tests: | |
name: Unit Tests (${{ matrix.os }}) | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
- ubuntu-20.04 | |
- macos-latest | |
- macos-13 | |
- windows-latest | |
- windows-2019 | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: ${{ matrix.os == 'windows-latest' && 'pwsh' || 'bash' }} | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Setup Go Environment | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
check-latest: true | |
cache: true | |
- name: Install Windows Build Dependencies | |
if: matrix.os == 'windows-latest' | |
run: choco install --no-progress --limit-output -y make | |
- name: Execute Unit Tests | |
run: make units | |
# vim: set sw=2 ts=2 sts=2 et tw=78 foldlevel=2 fdm=indent nospell: |