This repository has been archived by the owner on Dec 18, 2024. It is now read-only.
fix: cannot use generic type set.Set[T any] without instantiation #64
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
# | |
# This GitHub action runs Packer go tests across | |
# Windows, Linux, and MacOS runners. | |
# | |
name: "Go Test" | |
on: [workflow_dispatch, push] | |
env: | |
PACKER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
permissions: | |
contents: read | |
jobs: | |
linux-go-tests: | |
runs-on: ubuntu-latest | |
name: Linux go tests | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: "1.21" | |
- run: | | |
go mod edit -replace=github.com/zclconf/go-cty=github.com/nywilken/[email protected] | |
go mod tidy | |
- run: TESTARGS="-coverprofile=coverage.txt -covermode=atomic" make ci | |
# darwin-go-tests: | |
# runs-on: macos-latest | |
# name: Darwin go tests | |
# steps: | |
# - uses: actions/checkout@v2 | |
# - uses: actions/setup-go@v2 | |
# with: | |
# go-version: "1.19" | |
# - run: go test ./... -coverprofile=coverage.txt -covermode=atomic | |
# windows-go-tests: | |
# runs-on: windows-latest | |
# name: Windows go tests | |
# steps: | |
# - uses: actions/checkout@v2 | |
# - uses: actions/setup-go@v2 | |
# with: | |
# go-version: "1.19" | |
# - run: go test ./... -coverprofile=coverage.txt -covermode=atomic |