File tree Expand file tree Collapse file tree 6 files changed +25
-21
lines changed Expand file tree Collapse file tree 6 files changed +25
-21
lines changed Original file line number Diff line number Diff line change @@ -35,11 +35,11 @@ jobs:
3535
3636 steps :
3737 - name : Checkout repository
38- uses : actions/checkout@v2
38+ uses : actions/checkout@v3
3939
4040 # Initializes the CodeQL tools for scanning.
4141 - name : Initialize CodeQL
42- uses : github/codeql-action/init@v1
42+ uses : github/codeql-action/init@v2
4343 with :
4444 languages : ${{ matrix.language }}
4545 # If you wish to specify custom queries, you can do so here or in a config file.
5050 # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5151 # If this step fails, then you should remove it and run the build manually (see below)
5252 - name : Autobuild
53- uses : github/codeql-action/autobuild@v1
53+ uses : github/codeql-action/autobuild@v2
5454
5555 # ℹ️ Command-line programs to run using the OS shell.
5656 # 📚 https://git.io/JvXDl
6464 # make release
6565
6666 - name : Perform CodeQL Analysis
67- uses : github/codeql-action/analyze@v1
67+ uses : github/codeql-action/analyze@v2
Original file line number Diff line number Diff line change 1313 runs-on : ubuntu-latest
1414
1515 steps :
16- - uses : actions/checkout@v2
16+ - uses : actions/checkout@v3
1717 - name : Build the Docker image
1818 run : docker build . --file Dockerfile --tag my-image-name:$(date +%s)
Original file line number Diff line number Diff line change 2424 runs-on : ubuntu-latest
2525
2626 steps :
27- - uses : actions/checkout@v2
27+ - uses : actions/checkout@v3
2828
2929 - name : Run tests
3030 run : |
4545 if : github.event_name == 'push'
4646
4747 steps :
48- - uses : actions/checkout@v2
48+ - uses : actions/checkout@v3
4949
5050 - name : Build image
5151 run : docker build . --file Dockerfile --tag $IMAGE_NAME
Original file line number Diff line number Diff line change @@ -15,20 +15,22 @@ jobs:
1515 runs-on : ubuntu-latest
1616
1717 steps :
18- - uses : actions/checkout@v2
18+ - uses : actions/checkout@v3
1919 - name : Set up Python 3.8
20- uses : actions/setup-python@v2
20+ uses : actions/setup-python@v4
2121 with :
2222 python-version : 3.8
23+ cache : pip
24+ cache-dependency-path : setup.py
25+
2326 - name : Install dependencies
2427 run : |
2528 python -m pip install --upgrade pip
2629 python -m pip install pytest rzpipe meson==0.62.0 ninja coverage ciphey frida objection
27- sudo apt-get install -y ninja-build
28-
29- # Install graphviz
30- sudo apt-get -y install graphviz
31-
30+
31+ # Install graphviz & ninja
32+ sudo apt-get -y install graphviz ninja-build
33+
3234 # Install Rizin
3335 sudo git clone --branch v0.3.4 https://github.com/rizinorg/rizin /opt/rizin/
3436 cd /opt/rizin/
3739 sudo ninja -C build install
3840 sudo ldconfig -v
3941 cd -
40-
42+
4143 # Install click >= 8.0.0 for CLI supports
4244 python -m pip install click==8.0.3
4345
5355 pytest --cov=./
5456
5557 - name : Upload coverage to Codecov
56- uses : codecov/codecov-action@v1
58+ uses : codecov/codecov-action@v3
5759 with :
5860 flags : unittests
5961 fail_ci_if_error : true
60-
62+
Original file line number Diff line number Diff line change 88 deploy :
99 runs-on : ubuntu-latest
1010 steps :
11- - uses : actions/checkout@v1
11+ - uses : actions/checkout@v3
1212 - name : Set up Python
13- uses : actions/setup-python@v1
13+ uses : actions/setup-python@v4
1414 with :
1515 python-version : ' 3.x'
1616 - name : Install dependencies
Original file line number Diff line number Diff line change @@ -26,12 +26,14 @@ jobs:
2626 python-version : [3.8, 3.9]
2727
2828 steps :
29- - uses : actions/checkout@v2
29+ - uses : actions/checkout@v3
3030
3131 - name : Set up Python
32- uses : actions/setup-python@v2
32+ uses : actions/setup-python@v4
3333 with :
3434 python-version : ${{ matrix.python-version }}
35+ cache : pip
36+ cache-dependency-path : setup.py
3537
3638 - name : Install dependencies
3739 run : |
You can’t perform that action at this time.
0 commit comments