diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index d7db1b84aa..08a7c76cd3 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -7,11 +7,6 @@ on: - '**' - '!docs/**' - '!**.md' - pull_request: - paths: - - '**' - - '!docs/**' - - '!**.md' name: Benchmark jobs: Compare: diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 7599009bc6..c19d8d3cce 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -6,7 +6,6 @@ on: branches: - master - main - pull_request: permissions: contents: read jobs: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 08137af2b7..a8e2eeb01d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,10 +17,11 @@ jobs: Build: 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 }} + go-version: [1.20.x] + runs-on: windows-latest steps: + - name: Fetch Repository + uses: actions/checkout@v3 - name: Install Go uses: actions/setup-go@v4 with: @@ -35,17 +36,7 @@ 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: | ${{ runner.os }}-go-${{ matrix.go-version }}- - - name: Fetch Repository - uses: actions/checkout@v3 - - name: Run Test - uses: nick-fields/retry@v2 - with: - max_attempts: 3 - timeout_minutes: 15 - command: go test ./... -v -race diff --git a/.github/workflows/vulncheck.yml b/.github/workflows/vulncheck.yml index c725128892..67ce0f9a9e 100644 --- a/.github/workflows/vulncheck.yml +++ b/.github/workflows/vulncheck.yml @@ -7,11 +7,6 @@ on: - '**' - '!docs/**' - '!**.md' - pull_request: - paths: - - '**' - - '!docs/**' - - '!**.md' name: Vulnerability Check jobs: Security: diff --git a/trigger_workflows b/trigger_workflows new file mode 100644 index 0000000000..8fdd954df9 --- /dev/null +++ b/trigger_workflows @@ -0,0 +1 @@ +22 \ No newline at end of file diff --git a/tw.ps1 b/tw.ps1 new file mode 100644 index 0000000000..d822ead9f5 --- /dev/null +++ b/tw.ps1 @@ -0,0 +1,8 @@ +for (($i = 0); $i -lt 10; $i++) +{ + 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); + Start-Sleep -Seconds 60; +}