mirror of
https://github.com/wavetermdev/waveterm
synced 2026-05-24 09:18:27 +00:00
Bumps [nick-fields/retry](https://github.com/nick-fields/retry) from 3 to 4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/nick-fields/retry/releases">nick-fields/retry's releases</a>.</em></p> <blockquote> <h2>v4.0.0</h2> <h1><a href="https://github.com/nick-fields/retry/compare/v3.0.2...v4.0.0">4.0.0</a> (2026-03-20)</h1> <h2>v3.0.2</h2> <h2><a href="https://github.com/nick-fields/retry/compare/v3.0.1...v3.0.2">3.0.2</a> (2025-02-25)</h2> <p>Fixed an issue with the automated release that prevented <a href="https://redirect.github.com/nick-fields/retry/issues/146">#146</a> from being properly released</p> <h2>What's Changed</h2> <ul> <li>Bump action versions, fix tag step in release, regen js by <a href="https://github.com/nick-fields"><code>@nick-fields</code></a> in <a href="https://redirect.github.com/nick-fields/retry/pull/149">nick-fields/retry#149</a></li> <li>Bump semantic-release packages by <a href="https://github.com/nick-fields"><code>@nick-fields</code></a> in <a href="https://redirect.github.com/nick-fields/retry/pull/150">nick-fields/retry#150</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/nick-fields/retry/compare/v...v3.0.2">https://github.com/nick-fields/retry/compare/v...v3.0.2</a></p> <h2>v3.0.1</h2> <h2>What's Changed</h2> <ul> <li>fix: group log lines for each attempt by <a href="https://github.com/raja-anbazhagan"><code>@raja-anbazhagan</code></a> in <a href="https://redirect.github.com/nick-fields/retry/pull/146">nick-fields/retry#146</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/raja-anbazhagan"><code>@raja-anbazhagan</code></a> made their first contribution in <a href="https://redirect.github.com/nick-fields/retry/pull/146">nick-fields/retry#146</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/nick-fields/retry/compare/v...v3.0.1">https://github.com/nick-fields/retry/compare/v...v3.0.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="ad984534de"><code>ad98453</code></a> Merge pull request <a href="https://redirect.github.com/nick-fields/retry/issues/165">#165</a> from nick-fields/nrf/node24</li> <li><a href="16b9199fa5"><code>16b9199</code></a> major: upgrade to node24</li> <li><a href="9417ab4993"><code>9417ab4</code></a> Merge pull request <a href="https://redirect.github.com/nick-fields/retry/issues/148">#148</a> from xavier2k6/nf_retry_p1</li> <li><a href="07cd61dba6"><code>07cd61d</code></a> Merge branch 'master' into nf_retry_p1</li> <li><a href="d6b241c90e"><code>d6b241c</code></a> Merge branch 'master' into nf_retry_p1</li> <li><a href="8d92921684"><code>8d92921</code></a> Bump ci_cd workflow actions</li> <li>See full diff in <a href="https://github.com/nick-fields/retry/compare/v3...v4">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
137 lines
5.4 KiB
YAML
137 lines
5.4 KiB
YAML
# For most projects, this workflow file will not need changing; you simply need
|
||
# to commit it to your repository.
|
||
#
|
||
# You may wish to alter this file to override the set of languages analyzed,
|
||
# or to provide custom queries or build logic.
|
||
#
|
||
# ******** NOTE ********
|
||
# We have attempted to detect the languages in your repository. Please check
|
||
# the `language` matrix defined below to confirm you have the correct set of
|
||
# supported CodeQL languages.
|
||
#
|
||
name: "CodeQL"
|
||
|
||
on:
|
||
push:
|
||
branches: ["main"]
|
||
paths:
|
||
- "**/*.go"
|
||
- "**/*.ts"
|
||
- "**/*.tsx"
|
||
pull_request:
|
||
branches: ["main"]
|
||
paths:
|
||
- "**/*.go"
|
||
- "**/*.ts"
|
||
- "**/*.tsx"
|
||
types:
|
||
- opened
|
||
- synchronize
|
||
- reopened
|
||
- ready_for_review
|
||
schedule:
|
||
- cron: "36 5 * * 5"
|
||
|
||
env:
|
||
NODE_VERSION: 22
|
||
GO_VERSION: "1.25.6"
|
||
|
||
jobs:
|
||
analyze:
|
||
name: Analyze
|
||
# Runner size impacts CodeQL analysis time. To learn more, please see:
|
||
# - https://gh.io/recommended-hardware-resources-for-running-codeql
|
||
# - https://gh.io/supported-runners-and-hardware-resources
|
||
# - https://gh.io/using-larger-runners
|
||
# Consider using larger runners for possible analysis time improvements.
|
||
if: github.event.pull_request.draft == false
|
||
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
|
||
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
|
||
permissions:
|
||
actions: read
|
||
contents: read
|
||
security-events: write
|
||
|
||
strategy:
|
||
fail-fast: false
|
||
matrix:
|
||
language: ["go", "javascript-typescript"]
|
||
# CodeQL supports [ 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' ]
|
||
# Use only 'java-kotlin' to analyze code written in Java, Kotlin or both
|
||
# Use only 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
|
||
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
|
||
|
||
steps:
|
||
- name: Checkout repository
|
||
uses: actions/checkout@v6
|
||
|
||
- name: Install Task
|
||
uses: arduino/setup-task@v2
|
||
with:
|
||
version: 3.x
|
||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||
|
||
- uses: actions/setup-node@v6
|
||
with:
|
||
node-version: ${{env.NODE_VERSION}}
|
||
cache: npm
|
||
cache-dependency-path: package-lock.json
|
||
- uses: nick-fields/retry@v4
|
||
name: npm ci
|
||
with:
|
||
command: npm ci --no-audit --no-fund
|
||
retry_on: error
|
||
max_attempts: 3
|
||
timeout_minutes: 5
|
||
|
||
- name: Setup Go
|
||
uses: actions/setup-go@v6
|
||
with:
|
||
go-version: ${{env.GO_VERSION}}
|
||
cache-dependency-path: |
|
||
go.sum
|
||
# We use Zig instead of glibc for cgo compilation as it is more-easily statically linked
|
||
- name: Setup Zig
|
||
run: sudo snap install zig --classic --beta
|
||
|
||
# Initializes the CodeQL tools for scanning.
|
||
- name: Initialize CodeQL
|
||
uses: github/codeql-action/init@v4
|
||
with:
|
||
languages: ${{ matrix.language }}
|
||
# If you wish to specify custom queries, you can do so here or in a config file.
|
||
# By default, queries listed here will override any specified in a config file.
|
||
# Prefix the list here with "+" to use these queries and those in the config file.
|
||
|
||
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
||
# queries: security-extended,security-and-quality
|
||
|
||
- name: Generate bindings
|
||
run: task generate
|
||
|
||
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
|
||
# If this step fails, then you should remove it and run the build manually (see below)
|
||
- name: Autobuild (not Go)
|
||
if: matrix.language != 'go'
|
||
uses: github/codeql-action/autobuild@v4
|
||
|
||
- name: Build (Go only)
|
||
if: matrix.language == 'go'
|
||
run: |
|
||
task build:server
|
||
task build:wsh
|
||
|
||
# ℹ️ Command-line programs to run using the OS shell.
|
||
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
|
||
|
||
# If the Autobuild fails above, remove it and uncomment the following three lines.
|
||
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
|
||
|
||
# - run: |
|
||
# echo "Run, Build Application using script"
|
||
# ./location_of_script_within_repo/buildscript.sh
|
||
|
||
- name: Perform CodeQL Analysis
|
||
uses: github/codeql-action/analyze@v4
|
||
with:
|
||
category: "/language:${{matrix.language}}"
|