From 165dfae2e69e4aa0f2f283466d248b9f97fb495a Mon Sep 17 00:00:00 2001 From: gpotter2 Date: Fri, 17 Jun 2022 22:40:44 +0200 Subject: [PATCH] Update actions in the github workflow --- .github/workflows/unittests.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index 1d0236a61..174ff52fb 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -13,9 +13,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Scapy - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: 3.9 - name: Install tox @@ -31,9 +31,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Scapy - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: 3.9 - name: Install tox @@ -45,9 +45,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Scapy - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: 3.9 - name: Install tox @@ -98,12 +98,12 @@ jobs: mode: both steps: - name: Checkout Scapy - uses: actions/checkout@v2 + uses: actions/checkout@v3 # Codecov requires a fetch-depth > 1 with: fetch-depth: 2 - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python }} - name: Install Tox and any other packages @@ -111,7 +111,7 @@ jobs: - name: Run Tox run: ./.config/ci/test.sh ${{ matrix.python }} ${{ matrix.mode }} - name: Codecov - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v2 with: file: /home/runner/work/scapy/scapy/.coverage @@ -123,12 +123,12 @@ jobs: security-events: write steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 2 - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v2 with: languages: 'python' - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v2