Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
16 changes: 8 additions & 8 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ jobs:
- name: Display Go version
run: go version
- name: Restore main benchmark
uses: actions/cache/restore@v4
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
id: restore-main-benchmark
with:
path: bench/main.txt
key: main-benchmark-6-${{ github.sha }}
- name: Checkout main
if: steps.restore-main-benchmark.outputs.cache-hit != 'true'
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
ref: main
clean: false
Expand All @@ -54,15 +54,15 @@ jobs:
if: steps.restore-main-benchmark.outputs.cache-hit != 'true'
run: go test -timeout=9999999s -bench=. -benchmem -count=6 ./... | tee bench/main.txt
- name: Save main benchmark
uses: actions/cache/save@v4
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
if: steps.restore-main-benchmark.outputs.cache-hit != 'true'
with:
path: bench/main.txt
key: ${{ steps.restore-main-benchmark.outputs.cache-primary-key }}
- name: Checkout branch
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: Restore main benchmark
uses: actions/cache/restore@v4
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: bench/main.txt
key: main-benchmark-6-${{ github.sha }}
Expand All @@ -78,7 +78,7 @@ jobs:
- name: Compare benchmarks
run: benchstat bench/main.txt bench/${{github.sha}}.txt | tee bench/benchstat.txt
- name: Store benchmark
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: benchmark-${{ github.sha }}
path: bench
Expand All @@ -100,14 +100,14 @@ jobs:
- name: Display Go version
run: go version
- name: Checkout main
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: Install dependencies
run: go get .
- name: Build
run: go build -v ./...
- run: mkdir -p bench
- name: Cache main benchmark
uses: actions/cache@v4
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: bench/main.txt
key: main-benchmark-6
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-go@v6
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
with:
go-version: '1.25.7'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v8
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
with:
version: v2.9.0
only-new-issues: true
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
go-version: [ '1.25', '1.25.7' ]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
uses: actions/setup-go@7b8cf10d4e4a01d4992d18a89f4d7dc5a3e6d6f4 # v4.3.0
with:
go-version: ${{ matrix.go-version }}
- name: Display Go version
Expand Down
Loading