diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml index 0f7123e748..8170e2f783 100644 --- a/.github/workflows/codeql.yaml +++ b/.github/workflows/codeql.yaml @@ -31,12 +31,12 @@ jobs: strategy: fail-fast: false matrix: - language: [ "cpp", "javascript", "python" ] - # CodeQL supports [ "cpp", "csharp", "go", "java", "javascript", "python", "ruby" ] + language: [ 'cpp', 'javascript', 'python' ] + # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support env: - MEDIASOUP_SKIP_WORKER_PREBUILT_DOWNLOAD: "true" + MEDIASOUP_SKIP_WORKER_PREBUILT_DOWNLOAD: 'true' steps: - name: Checkout repository @@ -76,4 +76,4 @@ jobs: - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2 with: - category: "/language:${{matrix.language}}" + category: '/language:${{matrix.language}}' diff --git a/.github/workflows/mediasoup-node.yaml b/.github/workflows/mediasoup-node.yaml index c6815a76a8..fcb8fdb946 100644 --- a/.github/workflows/mediasoup-node.yaml +++ b/.github/workflows/mediasoup-node.yaml @@ -27,7 +27,7 @@ jobs: runs-on: ${{ matrix.ci.os }} env: - MEDIASOUP_SKIP_WORKER_PREBUILT_DOWNLOAD: "true" + MEDIASOUP_SKIP_WORKER_PREBUILT_DOWNLOAD: 'true' steps: - name: Checkout @@ -43,7 +43,7 @@ jobs: with: path: | ~/.npm - key: ${{ matrix.ci.os }}-node-${{ hashFiles("**/package.json") }} + key: ${{ matrix.ci.os }}-node-${{ hashFiles('**/package.json') }} restore-keys: | ${{ matrix.ci.os }}-node- diff --git a/.github/workflows/mediasoup-rust.yaml b/.github/workflows/mediasoup-rust.yaml index 5406b9c18e..ef5e95eaa6 100644 --- a/.github/workflows/mediasoup-rust.yaml +++ b/.github/workflows/mediasoup-rust.yaml @@ -24,7 +24,7 @@ jobs: runs-on: ${{ matrix.os }} env: - KEEP_BUILD_ARTIFACTS: "1" + KEEP_BUILD_ARTIFACTS: '1' steps: - name: Checkout @@ -36,7 +36,7 @@ jobs: path: | ~/.cargo/registry ~/.cargo/git - key: ${{ matrix.os }}-cargo-${{ hashFiles("**/Cargo.toml") }} + key: ${{ matrix.os }}-cargo-${{ hashFiles('**/Cargo.toml') }} - name: cargo fmt run: cargo fmt --all -- --check @@ -50,6 +50,6 @@ jobs: - name: cargo doc run: cargo doc --locked --all --no-deps --lib env: - DOCS_RS: "1" - RUSTDOCFLAGS: "-D rustdoc::broken-intra-doc-links -D rustdoc::private_intra_doc_links" + DOCS_RS: '1' + RUSTDOCFLAGS: '-D rustdoc::broken-intra-doc-links -D rustdoc::private_intra_doc_links' diff --git a/.github/workflows/mediasoup-worker-prebuild.yaml b/.github/workflows/mediasoup-worker-prebuild.yaml index 49535405c2..141e31343a 100644 --- a/.github/workflows/mediasoup-worker-prebuild.yaml +++ b/.github/workflows/mediasoup-worker-prebuild.yaml @@ -4,7 +4,7 @@ on: push: # Only trigger for production releases. tags: - - "*.*.*" + - '*.*.*' # Only trigger when other workflows succeeded. workflow_run: @@ -38,7 +38,7 @@ jobs: env: CC: ${{ matrix.build.cc }} CXX: ${{ matrix.build.cxx }} - MEDIASOUP_SKIP_WORKER_PREBUILT_DOWNLOAD: "true" + MEDIASOUP_SKIP_WORKER_PREBUILT_DOWNLOAD: 'true' steps: - name: Checkout diff --git a/.github/workflows/mediasoup-worker.yaml b/.github/workflows/mediasoup-worker.yaml index e8687a5cc3..ffa8b70160 100644 --- a/.github/workflows/mediasoup-worker.yaml +++ b/.github/workflows/mediasoup-worker.yaml @@ -43,7 +43,7 @@ jobs: env: CC: ${{ matrix.build.cc }} CXX: ${{ matrix.build.cxx }} - MEDIASOUP_SKIP_WORKER_PREBUILT_DOWNLOAD: "true" + MEDIASOUP_SKIP_WORKER_PREBUILT_DOWNLOAD: 'true' steps: - name: Checkout @@ -59,7 +59,7 @@ jobs: with: path: | ~/.npm - key: ${{ matrix.build.os }}-node-${{matrix.build.cc}}-${{ hashFiles("**/package.json") }} + key: ${{ matrix.build.os }}-node-${{matrix.build.cc}}-${{ hashFiles('**/package.json') }} restore-keys: | ${{ matrix.build.os }}-node-${{matrix.build.cc}}- @@ -71,12 +71,12 @@ jobs: - name: npm ci --prefix worker/scripts run: npm ci --prefix worker/scripts --foreground-scripts # TODO: Maybe fix this one day. - if: runner.os != "Windows" + if: runner.os != 'Windows' - name: invoke -r worker lint run: invoke -r worker lint # TODO: Maybe fix this one day. - if: runner.os != "Windows" + if: runner.os != 'Windows' - name: invoke -r worker mediasoup-worker run: invoke -r worker mediasoup-worker @@ -84,4 +84,4 @@ jobs: - name: invoke -r worker test run: invoke -r worker test # TODO: Maybe fix this one day. - if: runner.os != "Windows" + if: runner.os != 'Windows'