Skip to content

Commit d6e23cc

Browse files
committed
Update version of github action workflow script
1 parent d779fe6 commit d6e23cc

File tree

6 files changed

+23
-21
lines changed

6 files changed

+23
-21
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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.
@@ -50,7 +50,7 @@ jobs:
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
@@ -64,4 +64,4 @@ jobs:
6464
# make release
6565

6666
- name: Perform CodeQL Analysis
67-
uses: github/codeql-action/analyze@v1
67+
uses: github/codeql-action/analyze@v2

.github/workflows/docker-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
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)

.github/workflows/docker-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
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: |
@@ -45,7 +45,7 @@ jobs:
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

.github/workflows/pytest.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff 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/
@@ -37,7 +39,7 @@ jobs:
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

@@ -53,8 +55,8 @@ jobs:
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+

.github/workflows/pythonpublish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ jobs:
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

.github/workflows/smoke_test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ 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 }}
3535

0 commit comments

Comments
 (0)