Skip to content

Commit

Permalink
Merge branch 'main' into ci-ubuntu-runner
Browse files Browse the repository at this point in the history
  • Loading branch information
ericcornelissen committed Jul 15, 2024
2 parents 4782f63 + 5c2f62c commit 274278d
Show file tree
Hide file tree
Showing 34 changed files with 357 additions and 1,506 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/audit-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Install Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
cache: npm
node-version-file: .nvmrc
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/audit-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
with:
ref: v2
- name: Install Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
cache: npm
node-version-file: .nvmrc
Expand Down
34 changes: 17 additions & 17 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Initialize CodeQL
uses: github/codeql-action/init@b611370bb5703a7efb587f9d136a52ea24c5c38c # v3.25.11
uses: github/codeql-action/init@4fa2a7953630fd2f3fb380f21be14ede0169dd4f # v3.25.12
with:
config-file: ./.github/codeql.yml
languages: javascript
- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@b611370bb5703a7efb587f9d136a52ea24c5c38c # v3.25.11
uses: github/codeql-action/analyze@4fa2a7953630fd2f3fb380f21be14ede0169dd4f # v3.25.12
format:
name: Formatting
runs-on: ubuntu-24.04
Expand All @@ -57,7 +57,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Install Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
cache: npm
node-version-file: .nvmrc
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Install Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
cache: npm
node-version-file: .nvmrc
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
- name: Install tooling
uses: asdf-vm/actions/install@4f8f7939dd917fc656bb7c3575969a5988c28364 # v3.0.0
- name: Install Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
cache: npm
node-version-file: .nvmrc
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Install Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
cache: npm
node-version-file: .nvmrc
Expand Down Expand Up @@ -209,7 +209,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Install Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
cache: npm
node-version-file: .nvmrc
Expand Down Expand Up @@ -250,7 +250,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Install Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
cache: npm
node-version: ${{ matrix.node-version }}
Expand Down Expand Up @@ -294,7 +294,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Install Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
cache: npm
node-version-file: .nvmrc
Expand Down Expand Up @@ -343,7 +343,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Install Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
cache: npm
node-version-file: .nvmrc
Expand Down Expand Up @@ -380,7 +380,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Install Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
cache: npm
node-version-file: .nvmrc
Expand All @@ -396,7 +396,7 @@ jobs:
- name: Run mutation tests
run: npm run mutation:unit
- name: Upload mutation report
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
if: ${{ failure() || success() }}
with:
name: mutation-unit-report
Expand Down Expand Up @@ -427,7 +427,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Install Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
cache: npm
node-version-file: .nvmrc
Expand All @@ -447,7 +447,7 @@ jobs:
- name: Run mutation tests
run: npm run mutation:integration
- name: Upload mutation report
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
if: ${{ failure() || success() }}
with:
name: mutation-integration-report
Expand Down Expand Up @@ -475,7 +475,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Install Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
cache: npm
node-version-file: .nvmrc
Expand Down Expand Up @@ -504,7 +504,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Install Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
cache: npm
node-version-file: .nvmrc
Expand Down Expand Up @@ -533,7 +533,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Install Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
cache: npm
node-version-file: .nvmrc
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/config-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Install Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
cache: npm
node-version-file: .nvmrc
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Install Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
cache: npm
node-version-file: .nvmrc
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fuzz-bash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ permissions: read-all
jobs:
fuzz:
name: Fuzz
uses: ericcornelissen/shescape/.github/workflows/reusable-fuzz.yml@main
uses: ./.github/workflows/reusable-fuzz.yml
with:
duration: 600 # seconds == 10 minutes
os: ubuntu-24.04
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fuzz-cmd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ permissions: read-all
jobs:
fuzz:
name: Fuzz
uses: ericcornelissen/shescape/.github/workflows/reusable-fuzz.yml@main
uses: ./.github/workflows/reusable-fuzz.yml
with:
duration: 600 # seconds == 10 minutes
os: windows-2022
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fuzz-csh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ permissions: read-all
jobs:
fuzz:
name: Fuzz
uses: ericcornelissen/shescape/.github/workflows/reusable-fuzz.yml@main
uses: ./.github/workflows/reusable-fuzz.yml
with:
duration: 600 # seconds == 10 minutes
os: ubuntu-24.04
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fuzz-dash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ permissions: read-all
jobs:
fuzz:
name: Fuzz
uses: ericcornelissen/shescape/.github/workflows/reusable-fuzz.yml@main
uses: ./.github/workflows/reusable-fuzz.yml
with:
duration: 600 # seconds == 10 minutes
os: ubuntu-24.04
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/fuzz-no-shell-unix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ permissions: read-all
jobs:
fuzz:
name: Fuzz
uses: ericcornelissen/shescape/.github/workflows/reusable-fuzz.yml@main
uses: ./.github/workflows/reusable-fuzz.yml
with:
duration: 600 # seconds == 10 minutes
os: ubuntu-24.04
shell: "false"
shell: "" # false
targets: '["exec-file", "fork", "spawn"]'
4 changes: 2 additions & 2 deletions .github/workflows/fuzz-no-shell-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ permissions: read-all
jobs:
fuzz:
name: Fuzz
uses: ericcornelissen/shescape/.github/workflows/reusable-fuzz.yml@main
uses: ./.github/workflows/reusable-fuzz.yml
with:
duration: 600 # seconds == 10 minutes
os: windows-2022
shell: "false"
shell: "" # false
targets: '["exec-file", "fork", "spawn"]'
2 changes: 1 addition & 1 deletion .github/workflows/fuzz-powershell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ permissions: read-all
jobs:
fuzz:
name: Fuzz
uses: ericcornelissen/shescape/.github/workflows/reusable-fuzz.yml@main
uses: ./.github/workflows/reusable-fuzz.yml
with:
duration: 600 # seconds == 10 minutes
os: windows-2022
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fuzz-zsh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ permissions: read-all
jobs:
fuzz:
name: Fuzz
uses: ericcornelissen/shescape/.github/workflows/reusable-fuzz.yml@main
uses: ./.github/workflows/reusable-fuzz.yml
with:
duration: 600 # seconds == 10 minutes
os: ubuntu-24.04
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Install Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
cache: npm
node-version-file: .nvmrc
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
with:
fetch-depth: 0 # To fetch all tags
- name: Install Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
cache: npm
node-version-file: .nvmrc
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Install Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
cache: npm
node-version-file: .nvmrc
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Install Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
cache: npm
node-version-file: .nvmrc
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable-fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
fileName.slice(0, -4) : fileName
return `${process.env.OS}-${shellName}-${process.env.TARGET}`
- name: Install Node.js
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
cache: npm
node-version-file: .nvmrc
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
exit 1
- name: Upload crash (if any)
if: ${{ steps.fuzz.outputs.fuzz-error == 'true' }}
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
with:
name: fuzz-crash-${{ steps.run-id.outputs.result }}
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
- name: Upload Semgrep report to GitHub
uses: github/codeql-action/upload-sarif@b611370bb5703a7efb587f9d136a52ea24c5c38c # v3.25.11
uses: github/codeql-action/upload-sarif@4fa2a7953630fd2f3fb380f21be14ede0169dd4f # v3.25.12
if: ${{ failure() || success() }}
with:
sarif_file: semgrep.sarif
3 changes: 0 additions & 3 deletions .lockfile-lintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
path: package-lock.json
allowedHosts:
- npm
- gitlab.com
emptyHostname: false
validateHttps: true
validateIntegrity: true
validatePackageNames: false
integrityExclude:
- "@gitlab-org/jsfuzz"
1 change: 0 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ audit=false
ignore-scripts=true
lockfile-version=3
save-exact=true
@gitlab-org:registry=https://gitlab.com/api/v4/packages/npm/
Loading

0 comments on commit 274278d

Please sign in to comment.