Skip to content

Commit

Permalink
So use single quotes in CI yaml files
Browse files Browse the repository at this point in the history
  • Loading branch information
ibc committed Dec 29, 2023
1 parent 72b13e7 commit 6ef1cbb
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -76,4 +76,4 @@ jobs:
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"
category: '/language:${{matrix.language}}'
4 changes: 2 additions & 2 deletions .github/workflows/mediasoup-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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-
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/mediasoup-rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
runs-on: ${{ matrix.os }}

env:
KEEP_BUILD_ARTIFACTS: "1"
KEEP_BUILD_ARTIFACTS: '1'

steps:
- name: Checkout
Expand All @@ -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
Expand All @@ -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'

4 changes: 2 additions & 2 deletions .github/workflows/mediasoup-worker-prebuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
# Only trigger for production releases.
tags:
- "*.*.*"
- '*.*.*'

# Only trigger when other workflows succeeded.
workflow_run:
Expand Down Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/mediasoup-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}}-
Expand All @@ -71,17 +71,17 @@ 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

- name: invoke -r worker test
run: invoke -r worker test
# TODO: Maybe fix this one day.
if: runner.os != "Windows"
if: runner.os != 'Windows'

0 comments on commit 6ef1cbb

Please sign in to comment.