main.go: Do not unwrap the Kong error #154
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
# SPDX-FileCopyrightText: Fabio Forni <[email protected]> | |
# SPDX-License-Identifier: CC0-1.0 | |
name: test | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: [macOS-latest, ubuntu-latest, windows-latest] | |
version: [1.21.x] | |
name: Go ${{matrix.version}} tests on ${{matrix.os}} | |
runs-on: ${{matrix.os}} | |
steps: | |
- name: Install Task | |
uses: arduino/setup-task@v1 | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Set up Go ${{matrix.version}} | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{matrix.version}} | |
- name: Build code | |
run: task | |
- name: Run tests | |
run: task check | |
updateReports: | |
name: Update reports | |
needs: test | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
steps: | |
- name: Update Go Report Card | |
uses: creekorful/[email protected] |