SonarQube complains about workflow-level "allow" permissions.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
-permissions:
- actions: write
-
env:
CCACHE_BASEDIR: ${{ github.workspace }}
CCACHE_COMPRESS: true
needs: pre-check
if: ${{ needs.pre-check.outputs.should_skip != 'true' }}
runs-on: ubuntu-latest
+ permissions:
+ actions: write
env:
TEST: android
# since the NDK might be newly installed, we have to use this to avoid cache misses
on: delete
-permissions:
- actions: write
-
jobs:
cleanup:
runs-on: ubuntu-slim
+ permissions:
+ actions: write
steps:
- env:
GH_TOKEN: ${{ github.token }}
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
-permissions:
- actions: write
-
env:
# this test case does not actually test anything but tries to access system
# directories that might be inaccessible on build hosts
needs: pre-check
if: ${{ needs.pre-check.outputs.should_skip != 'true' }}
runs-on: ${{ matrix.os || 'ubuntu-latest' }}
+ permissions:
+ actions: write
strategy:
fail-fast: false
matrix:
needs: pre-check
if: ${{ needs.pre-check.outputs.should_skip != 'true' }}
runs-on: ${{ matrix.os }}
+ permissions:
+ actions: write
strategy:
fail-fast: false
matrix:
needs: pre-check
if: ${{ needs.pre-check.outputs.should_skip != 'true' }}
runs-on: ${{ matrix.os }}
+ permissions:
+ actions: write
strategy:
matrix:
os: [ ubuntu-22.04 ]
if: ${{ needs.pre-check.outputs.should_skip != 'true' }}
runs-on: ubuntu-latest
container: alpine:latest
+ permissions:
+ actions: write
env:
TESTS_REDUCED_KEYLENGTHS: yes
TEST: alpine
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
-permissions:
- actions: write
-
env:
TESTS_REDUCED_KEYLENGTHS: yes
CCACHE_BASEDIR: ${{ github.workspace }}
if: ${{ needs.pre-check.outputs.should_skip != 'true' }}
runs-on: ${{ matrix.os }}
timeout-minutes: 20
+ permissions:
+ actions: write
env:
TEST: macos
steps:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
-permissions:
- actions: write
-
env:
CCACHE_BASEDIR: ${{ github.workspace }}
CCACHE_COMPRESS: true
needs: pre-check
if: ${{ needs.pre-check.outputs.should_skip != 'true' }}
runs-on: ubuntu-latest
+ permissions:
+ actions: write
env:
TEST: sonarcloud
steps:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
-permissions:
- actions: write
-
env:
CCACHE_DIR: ${{ github.workspace }}/.ccache
CCACHE_CONTAINER: /root/.ccache
needs: pre-check
if: ${{ needs.pre-check.outputs.should_skip != 'true' }}
runs-on: ubuntu-latest
+ permissions:
+ actions: write
env:
TEST: tkm
steps:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
-permissions:
- actions: write
-
env:
TESTS_REDUCED_KEYLENGTHS: yes
CCACHE_COMPRESS: true
needs: pre-check
if: ${{ needs.pre-check.outputs.should_skip != 'true' }}
runs-on: ubuntu-latest
+ permissions:
+ actions: write
strategy:
matrix:
test: [ win64, win32 ]
needs: pre-check
if: ${{ needs.pre-check.outputs.should_skip != 'true' }}
runs-on: windows-latest
+ permissions:
+ actions: write
strategy:
matrix:
include: