From a5643f9ebc62b81498d14459a62f372e4297ec2a Mon Sep 17 00:00:00 2001 From: Sam Stenvall Date: Tue, 27 Aug 2024 09:16:11 +0300 Subject: [PATCH 1/3] Run tests in default ubuntu-latest container, not catalinii/minisatip-build-image --- .github/workflows/tests.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c64a2b0720..371728054e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,13 +9,14 @@ on: jobs: build: runs-on: ubuntu-latest - container: catalinii/minisatip-build-image:latest steps: - uses: actions/checkout@v4 + - name: Install build tools and dependencies + run: DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential libdvbcsa-dev libssl-dev zlib1g-dev libxml2-dev - name: configure run: ./configure - name: make run: make - name: make test - run: make test;make clean + run: make test; make clean From 51dbeb5edd9a82251f64a18d6e46b9464a7122ee Mon Sep 17 00:00:00 2001 From: Sam Stenvall Date: Tue, 27 Aug 2024 09:17:40 +0300 Subject: [PATCH 2/3] [fixup] sudo --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 371728054e..fe5dd91ad6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,7 +13,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install build tools and dependencies - run: DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential libdvbcsa-dev libssl-dev zlib1g-dev libxml2-dev + run: DEBIAN_FRONTEND=noninteractive sudo apt-get -y install build-essential libdvbcsa-dev libssl-dev zlib1g-dev libxml2-dev - name: configure run: ./configure - name: make From 16e4542654a7e286f38db6305bba0577721f6d7d Mon Sep 17 00:00:00 2001 From: Sam Stenvall Date: Tue, 27 Aug 2024 09:24:01 +0300 Subject: [PATCH 3/3] Switch to github/codeql-action/analyze@v2 The old one has been deprecated for some time --- .github/workflows/codeql-analysis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index d842c9ac90..a19e4ab355 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -42,7 +42,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v2 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -56,7 +56,7 @@ jobs: run: sudo DEBIAN_FRONTEND=noninteractive apt-get install -y -f libdvbcsa-dev libssl-dev - name: Autobuild - uses: github/codeql-action/autobuild@v1 + uses: github/codeql-action/autobuild@v2 # ℹī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -70,4 +70,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@v2