From 3cadff086a8186408fcfbf619c3dd5770f926572 Mon Sep 17 00:00:00 2001 From: Vasily Evseenko Date: Wed, 7 Aug 2024 11:47:30 +0300 Subject: [PATCH] Update github actions version --- .github/workflows/build.yml | 6 +++--- .github/workflows/build_debian.yml | 6 +++--- .github/workflows/build_ubuntu.yml | 6 +++--- .github/workflows/codeql-analysis.yml | 10 +++++----- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ddb5a1ef..0e802c56 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,7 +6,7 @@ on: jobs: build_and_test: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 strategy: matrix: docker-images: @@ -17,13 +17,13 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: build package run: | curl -s -L https://github.com/svpcom/wfb-ng/releases/download/wifibroadcast-17.10/qemu-7.2.0-fixed.tar.gz | sudo tar xzv -C / make deb_docker DOCKER_SRC_IMAGE=p2ptech/cross-build:${{ matrix.docker-images }} - name: Archive production artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: wfb-ng-${{ github.ref_name }}-${{ matrix.docker-images }} path: | diff --git a/.github/workflows/build_debian.yml b/.github/workflows/build_debian.yml index 6faf6e92..5e678e83 100644 --- a/.github/workflows/build_debian.yml +++ b/.github/workflows/build_debian.yml @@ -6,7 +6,7 @@ on: jobs: build_and_test: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 strategy: matrix: version: [11, 12] @@ -14,13 +14,13 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: build package run: | curl -s -L https://github.com/svpcom/wfb-ng/releases/download/wifibroadcast-17.10/qemu-7.2.0-fixed.tar.gz | sudo tar xzv -C / make deb_docker DOCKER_SRC_IMAGE=${{ matrix.arch }}/debian:${{ matrix.version }} - name: Archive production artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: wfb-ng-${{ github.ref_name }}-debian${{ matrix.version }}-${{ matrix.arch }} path: | diff --git a/.github/workflows/build_ubuntu.yml b/.github/workflows/build_ubuntu.yml index bd17b5a6..2ed212b4 100644 --- a/.github/workflows/build_ubuntu.yml +++ b/.github/workflows/build_ubuntu.yml @@ -6,7 +6,7 @@ on: jobs: build_and_test: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 strategy: matrix: version: [ "20.04", "22.04", "24.04" ] @@ -14,13 +14,13 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: build package run: | curl -s -L https://github.com/svpcom/wfb-ng/releases/download/wifibroadcast-17.10/qemu-7.2.0-fixed.tar.gz | sudo tar xzv -C / make deb_docker DOCKER_SRC_IMAGE=${{ matrix.arch }}/ubuntu:${{ matrix.version }} - name: Archive production artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: wfb-ng-${{ github.ref_name }}-ubuntu${{ matrix.version }}-${{ matrix.arch }} path: | diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a74643f4..c880f30d 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -23,7 +23,7 @@ on: jobs: analyze: name: Analyze - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 strategy: fail-fast: false @@ -35,11 +35,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v4 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -48,8 +48,8 @@ jobs: # queries: ./path/to/local/query, your-org/your-repo/queries@main - run: | - sudo apt update && sudo apt -y install python3-twisted libpcap-dev libsodium-dev python3-pyroute2 python3-future python3-msgpack + sudo apt update && sudo apt -y install python3-twisted libpcap-dev libsodium-dev python3-pyroute2 python3-future python3-msgpack python3-setuptools make all_bin - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v4