Merge pull request #190 from HarrisonWAffel/gha-migration #1
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: Merge | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: [windows-2019, windows-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 'stable' | |
- name: Install Dependencies | |
run: | | |
go install github.com/magefile/mage@v1.15.0 | |
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.55.2 | |
- name: Run E2E tests | |
shell: pwsh | |
run: | | |
Install-Module -Name DockerMsftProvider -Force | |
Import-Module -Name HostNetworkingService | |
set PSModulePath=&&powershell -command "mage TestAll" |