Fix gt-pvx auto-save committing deletions of tracked files #6707
Workflow file for this run
This file contains hidden or 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: Windows CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| smoke: | |
| name: Windows Smoke Test | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - name: Set up Go | |
| uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6 | |
| with: | |
| go-version: '1.26' | |
| cache: false | |
| - name: Cache Go modules | |
| uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5 | |
| with: | |
| path: ~/go/pkg/mod | |
| key: gomod-windows-${{ hashFiles('go.sum') }} | |
| restore-keys: gomod-windows- | |
| - name: Install ICU4C (MSYS2) | |
| uses: msys2/setup-msys2@cafece8e6baf9247cf9b1bf95097b0b983cc558d # v2.31.0 | |
| with: | |
| path-type: inherit | |
| msystem: UCRT64 | |
| pacboy: icu:p toolchain:p pkg-config:p | |
| - name: Build binary | |
| shell: msys2 {0} | |
| run: go build -v ./cmd/gt | |
| - name: Build all packages | |
| shell: msys2 {0} | |
| run: go build ./... | |
| - name: Vet | |
| shell: msys2 {0} | |
| run: go vet ./... |