-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into hm/forest-tool-api-ge…
…nerate-test-snapshot
- Loading branch information
Showing
47 changed files
with
694 additions
and
1,443 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,7 +54,7 @@ jobs: | |
- name: Checkout Sources | ||
uses: actions/checkout@v4 | ||
- name: Setup sccache | ||
uses: mozilla-actions/[email protected].6 | ||
uses: mozilla-actions/[email protected].7 | ||
timeout-minutes: '${{ fromJSON(env.CACHE_TIMEOUT_MINUTES) }}' | ||
continue-on-error: true | ||
- uses: actions/setup-go@v5 | ||
|
@@ -98,7 +98,7 @@ jobs: | |
uses: actions/checkout@v4 | ||
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') | ||
- name: Setup sccache | ||
uses: mozilla-actions/[email protected].6 | ||
uses: mozilla-actions/[email protected].7 | ||
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') | ||
timeout-minutes: '${{ fromJSON(env.CACHE_TIMEOUT_MINUTES) }}' | ||
continue-on-error: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Docs Deploy | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- '/docs' | ||
- '.github/workflows/docs-deploy.yml' | ||
merge_group: | ||
pull_request: | ||
branches: | ||
- main | ||
paths: | ||
- '/docs' | ||
- '.github/workflows/docs-deploy.yml' | ||
|
||
permissions: | ||
contents: read | ||
deployments: write | ||
pull-requests: write | ||
|
||
jobs: | ||
docs-deploy: | ||
name: Deploy to Cloudflare Pages | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./docs | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: "18" | ||
# See https://github.com/actions/setup-node/issues/1027 | ||
# cache: yarn | ||
- run: corepack enable | ||
- run: yarn install --frozen-lockfile | ||
- run: yarn run build | ||
|
||
- name: Deploy | ||
uses: cloudflare/wrangler-action@v3 | ||
with: | ||
apiToken: ${{ secrets.CLOUDFLARE_PAGES_API_TOKEN }} | ||
accountId: ${{ secrets.CLOUDFLARE_PAGES_ACCOUNT_ID }} | ||
command: pages deploy ./docs/build --project-name=forest-docs | ||
gitHubToken: ${{ secrets.GITHUB_TOKEN }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,7 @@ jobs: | |
- name: Checkout Sources | ||
uses: actions/checkout@v4 | ||
- name: Setup sccache | ||
uses: mozilla-actions/[email protected].6 | ||
uses: mozilla-actions/[email protected].7 | ||
timeout-minutes: '${{ fromJSON(env.CACHE_TIMEOUT_MINUTES) }}' | ||
continue-on-error: true | ||
- uses: actions/setup-go@v5 | ||
|
@@ -73,7 +73,7 @@ jobs: | |
- name: Checkout Sources | ||
uses: actions/checkout@v4 | ||
- name: Setup sccache | ||
uses: mozilla-actions/[email protected].6 | ||
uses: mozilla-actions/[email protected].7 | ||
timeout-minutes: '${{ fromJSON(env.CACHE_TIMEOUT_MINUTES) }}' | ||
continue-on-error: true | ||
- uses: actions/setup-go@v5 | ||
|
@@ -96,7 +96,7 @@ jobs: | |
- name: Checkout Sources | ||
uses: actions/checkout@v4 | ||
- name: Setup sccache | ||
uses: mozilla-actions/[email protected].6 | ||
uses: mozilla-actions/[email protected].7 | ||
timeout-minutes: '${{ fromJSON(env.CACHE_TIMEOUT_MINUTES) }}' | ||
continue-on-error: true | ||
- name: Install Apt Dependencies | ||
|
@@ -491,7 +491,7 @@ jobs: | |
name: 'forest-${{ runner.os }}' | ||
- name: Run api compare tests | ||
run: ./scripts/tests/api_compare/setup.sh | ||
timeout-minutes: '${{ fromJSON(env.SCRIPT_TIMEOUT_MINUTES) }}' | ||
timeout-minutes: 120 # '${{ fromJSON(env.SCRIPT_TIMEOUT_MINUTES) }}' | ||
- name: Dump docker logs | ||
if: always() | ||
uses: jwalton/gh-docker-logs@v2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: Link Checker | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
# Run daily at 9am | ||
- cron: "00 9 * * *" | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "**.md" | ||
- "**.mdx" | ||
- "**.html" | ||
- ".github/workflows/link-check.yml" | ||
merge_group: | ||
pull_request: | ||
branches: | ||
- main | ||
paths: | ||
- "**.md" | ||
- "**.mdx" | ||
- "**.html" | ||
- ".github/workflows/link-check.yml" | ||
|
||
jobs: | ||
link-check: | ||
name: Link Check | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
issues: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Link Checker | ||
id: lychee | ||
uses: lycheeverse/lychee-action@v2 | ||
with: | ||
args: --config ./.config/lychee.toml './**/*.md' './**/*.mdx' './**/*.html' | ||
|
||
- name: Create Issue From File | ||
if: env.lychee_exit_code != 0 && github.event_name == 'schedule' | ||
uses: peter-evans/create-issue-from-file@v5 | ||
with: | ||
title: Link Checker Report | ||
content-filepath: ./lychee-report.md | ||
|
||
- name: Fail job on error | ||
if: env.lychee_exit_code != 0 && github.event_name != 'schedule' | ||
run: exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,7 +49,7 @@ jobs: | |
- name: Checkout Sources | ||
uses: actions/checkout@v4 | ||
- name: Setup sccache | ||
uses: mozilla-actions/[email protected].6 | ||
uses: mozilla-actions/[email protected].7 | ||
timeout-minutes: ${{ fromJSON(env.CACHE_TIMEOUT_MINUTES) }} | ||
continue-on-error: true | ||
- name: Apt Dependencies | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,7 @@ jobs: | |
- name: Checkout Sources | ||
uses: actions/checkout@v4 | ||
- name: Setup sccache | ||
uses: mozilla-actions/[email protected].6 | ||
uses: mozilla-actions/[email protected].7 | ||
timeout-minutes: ${{ fromJSON(env.CACHE_TIMEOUT_MINUTES) }} | ||
continue-on-error: true | ||
- uses: actions/setup-go@v5 | ||
|
@@ -70,7 +70,7 @@ jobs: | |
- name: Checkout Sources | ||
uses: actions/checkout@v4 | ||
- name: Setup sccache | ||
uses: mozilla-actions/[email protected].6 | ||
uses: mozilla-actions/[email protected].7 | ||
timeout-minutes: ${{ fromJSON(env.CACHE_TIMEOUT_MINUTES) }} | ||
continue-on-error: true | ||
- uses: actions/setup-go@v5 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.