Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trigger_workflows #1

Open
wants to merge 33 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
c8cc93b
trigger_workflows
nikolai-laevskii May 3, 2023
288f7b3
trigger_workflows
nikolai-laevskii May 3, 2023
c4d34b5
trigger_workflows
nikolai-laevskii May 3, 2023
ac4b001
trigger_workflows
nikolai-laevskii May 3, 2023
9bc85c4
trigger_workflows
nikolai-laevskii May 3, 2023
5150049
Setup for actions/cache@v3 testing
nikolai-laevskii May 4, 2023
513ed21
Use both caches
nikolai-laevskii May 4, 2023
fbb8fc7
trigger_workflows
nikolai-laevskii May 4, 2023
b0a65b7
Remove non-windows caches
nikolai-laevskii May 4, 2023
dacad13
Remove additional path
nikolai-laevskii May 4, 2023
dcab49b
Use different path
nikolai-laevskii May 4, 2023
169b330
Use only one go version
nikolai-laevskii May 4, 2023
66bb86b
trigger_workflows
nikolai-laevskii May 4, 2023
d8e443a
Use sumpler syntax
nikolai-laevskii May 4, 2023
4536a57
trigger_workflows
nikolai-laevskii May 4, 2023
0fe5d0f
trigger_workflows
nikolai-laevskii May 4, 2023
642a192
Configure actions correctly
nikolai-laevskii May 4, 2023
c8f25c9
Set checkout first
nikolai-laevskii May 4, 2023
9180dbb
trigger_workflows
nikolai-laevskii May 4, 2023
0a6fc1d
Prevent benchmark, linter, vulncheck and actual unit testing from bei…
nikolai-laevskii May 4, 2023
1c06b61
trigger_workflows
nikolai-laevskii May 4, 2023
b1d8c8c
trigger_workflows
nikolai-laevskii May 4, 2023
b1b6af9
trigger_workflows
nikolai-laevskii May 4, 2023
b719cac
trigger_workflows
nikolai-laevskii May 4, 2023
f81bf1e
trigger_workflows
nikolai-laevskii May 4, 2023
9f0258e
trigger_workflows
nikolai-laevskii May 4, 2023
30a512b
trigger_workflows
nikolai-laevskii May 4, 2023
d81e74c
trigger_workflows
nikolai-laevskii May 4, 2023
977824c
trigger_workflows
nikolai-laevskii May 4, 2023
593a805
trigger_workflows
nikolai-laevskii May 4, 2023
f631248
trigger_workflows
nikolai-laevskii May 4, 2023
8eba08d
trigger_workflows
nikolai-laevskii May 4, 2023
4e61450
trigger_workflows
nikolai-laevskii May 4, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ on:
- '**'
- '!docs/**'
- '!**.md'
pull_request:
paths:
- '**'
- '!docs/**'
- '!**.md'
name: Benchmark
jobs:
Compare:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
branches:
- master
- main
pull_request:
permissions:
contents: read
jobs:
Expand Down
17 changes: 4 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
5 changes: 0 additions & 5 deletions .github/workflows/vulncheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ on:
- '**'
- '!docs/**'
- '!**.md'
pull_request:
paths:
- '**'
- '!docs/**'
- '!**.md'
name: Vulnerability Check
jobs:
Security:
Expand Down
1 change: 1 addition & 0 deletions trigger_workflows
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
22
8 changes: 8 additions & 0 deletions tw.ps1
Original file line number Diff line number Diff line change
@@ -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;
}