Skip to content

Commit 0058168

Browse files
committed
chore: improve CI workflows
1 parent 7ee237a commit 0058168

File tree

2 files changed

+9
-15
lines changed

2 files changed

+9
-15
lines changed

.github/workflows/cd.yml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,13 @@ jobs:
4141
uses: actions/cache@v4
4242
with:
4343
path: ${{ steps.pip-cache-dir-path.outputs.dir }}
44-
key: ${{ runner.os }}-pip-${{ matrix.python }}-slither0-10-4-id-0
45-
restore-keys: |
46-
${{ runner.os }}-pip-${{ matrix.python }}-
47-
48-
- name: Cache pip (Mythril)
49-
uses: actions/cache@v4
50-
with:
51-
path: ${{ steps.pip-cache-dir-path.outputs.dir }}
52-
key: ${{ runner.os }}-pip-mythril-${{ matrix.python }}-v0-24-8-id-0
53-
restore-keys: |
54-
${{ runner.os }}-pip-mythril-${{ matrix.python }}-
44+
key: ${{ runner.os }}-pip-${{ matrix.python }}-slither0-10-4-id-1
45+
46+
- name: Cache pip (Mythril)
47+
uses: actions/cache@v4
48+
with:
49+
path: ${{ steps.pip-cache-dir-path.outputs.dir }}
50+
key: ${{ runner.os }}-pip-mythril-${{ matrix.python }}-v0-24-8-id-1
5551

5652
- name: Install Analyzer tools
5753
if: steps.changed-sol-files.outputs.any_changed == 'true'
@@ -86,9 +82,7 @@ jobs:
8682
uses: actions/cache@v4
8783
with:
8884
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
89-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
90-
restore-keys: |
91-
${{ runner.os }}-yarn-
85+
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}-id-1
9286

9387
- name: Install dependencies
9488
run: yarn install --production=false --ignore-scripts --frozen-lockfile --prefer-offline

contracts/Timers.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
pragma solidity 0.8.28;
44

55
/**
6-
* FIXME: CI test
6+
* FIXME: CI test.
77
*/
88
library Timers {
99
struct BlockNumber {

0 commit comments

Comments
 (0)