Skip to content

Commit 234aead

Browse files
authored
Merge pull request #182 from NFFT/feature/pin-benchmark-lib
Pin benchmark lib.
2 parents e028aaa + 015dab9 commit 234aead

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build-linux.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
branches: [ main, develop, master ]
88
workflow_dispatch:
99

10+
env:
11+
CODSPEED_VERSION: v1.3.0
12+
1013
jobs:
1114
build:
1215
runs-on: ${{ matrix.os }}
@@ -118,13 +121,14 @@ jobs:
118121
id: cache-codspeed
119122
with:
120123
path: codspeed-cpp
121-
key: codspeed-cpp-${{ matrix.os }}
124+
key: codspeed-cpp-${{ matrix.os }}-${{ env.CODSPEED_VERSION }}
122125

123126
- name: Checkout CodSpeed integration library
124127
if: steps.cache-codspeed.outputs.cache-hit != 'true'
125128
uses: actions/checkout@v5
126129
with:
127130
repository: CodSpeedHQ/codspeed-cpp
131+
ref: "${{ env.CODSPEED_VERSION }}"
128132
path: codspeed-cpp
129133
submodules: recursive
130134

0 commit comments

Comments
 (0)