File tree Expand file tree Collapse file tree 1 file changed +29
-11
lines changed Expand file tree Collapse file tree 1 file changed +29
-11
lines changed Original file line number Diff line number Diff line change @@ -36,14 +36,32 @@ jobs:
36
36
curl -Os https://uploader.codecov.io/latest/linux/codecov; \
37
37
chmod +x codecov; \
38
38
./codecov;
39
- slither :
40
- runs-on : ubuntu-latest
41
- steps :
42
- - uses : actions/checkout@v3
43
- - name : Configure git safe directory
44
- run : git config --global --add safe.directory /github/workspace
45
- - uses : crytic/slither-action@35510b34cfdfb137d9816d27378ee8c217f1fa1c
46
- with :
47
- fail-on : low
48
- slither-version : d8e526e53ff690bd24c260042117efab5ce9c271
49
- slither-args : " --exclude-dependencies"
39
+ slither :
40
+ runs-on : ubuntu-latest
41
+ steps :
42
+ - uses : actions/checkout@v3
43
+ with :
44
+ path : workspace
45
+ - name : Configure git safe directory
46
+ run : git config --global --add safe.directory /github/workspace
47
+ - name : Debug ownership
48
+ run : |
49
+ ls -l /github
50
+ ls -l /github/workspace
51
+ whoami
52
+ id
53
+ - name : Fix workspace ownership
54
+ run : sudo chown -R $(id -u):$(id -g) /github/workspace
55
+ - name : Install Foundry
56
+ uses : foundry-rs/foundry-toolchain@v1
57
+ with :
58
+ version : nightly
59
+ - name : Install dependencies
60
+ run : |
61
+ cd workspace
62
+ forge install
63
+ - uses : crytic/slither-action@35510b34cfdfb137d9816d27378ee8c217f1fa1c
64
+ with :
65
+ fail-on : low
66
+ slither-version : d8e526e53ff690bd24c260042117efab5ce9c271
67
+ slither-args : " --exclude-dependencies"
You can’t perform that action at this time.
0 commit comments