Implement auto upgrades of wins.exe via the SUC image #1077
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: Pull Request | |
on: | |
pull_request: | |
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 | |
# This step is required otherwise the 'mage' | |
# command cannot be used in subsequent steps | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 'stable' | |
- name: Install Dependencies | |
run: | | |
go install github.com/magefile/[email protected] | |
go install github.com/golangci/golangci-lint/cmd/[email protected] | |
- name: Build | |
shell: pwsh | |
run: | | |
set PSModulePath=&&powershell -command "mage BuildAll" | |
- name: golangci-lint | |
uses: golangci/[email protected] | |
with: | |
args: --timeout=10m | |
version: v1.60 | |
- name: Run E2E tests | |
shell: pwsh | |
run: | | |
Install-Module -Name DockerMsftProvider -Force | |
Import-Module -Name HostNetworkingService | |
set PSModulePath=&&powershell -command "mage TestAll" |