diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 08137af2b7..fca477a96f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,13 +18,13 @@ jobs: strategy: matrix: go-version: [1.17.x, 1.18.x, 1.19.x, 1.20.x] - platform: [ubuntu-latest, windows-latest, macos-latest] - runs-on: ${{ matrix.platform }} + runs-on: windows-latest steps: - name: Install Go uses: actions/setup-go@v4 with: go-version: ${{ matrix.go-version }} + cache: false - name: Setup Golang caches uses: actions/cache@v3 with: @@ -35,8 +35,6 @@ jobs: # * Build cache (Windows) path: | ~/go/pkg/mod - ~/.cache/go-build - ~/Library/Caches/go-build ~\AppData\Local\go-build key: ${{ runner.os }}-go-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }} restore-keys: | diff --git a/trigger_workflows b/trigger_workflows new file mode 100644 index 0000000000..bf0d87ab1b --- /dev/null +++ b/trigger_workflows @@ -0,0 +1 @@ +4 \ No newline at end of file diff --git a/tw.ps1 b/tw.ps1 new file mode 100644 index 0000000000..8be22560c4 --- /dev/null +++ b/tw.ps1 @@ -0,0 +1,4 @@ +New-Item -Name "trigger_workflows" -Value ((Get-Content trigger_workflows) / 1 + 1) -Force; +git add .; +git commit -m "trigger_workflows"; +git push origin (git rev-parse --abbrev-ref HEAD);