-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into stdlib-extension-with-mathlib
- Loading branch information
Showing
513 changed files
with
70,256 additions
and
28,981 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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Link check | ||
|
||
on: | ||
workflow_dispatch: # on demand launches, if needed | ||
schedule: | ||
- cron: "0 0 * * 2" # 00:00 on Tuesday, near the dependabot.yml | ||
|
||
jobs: | ||
linkcheck: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: (docs) Check broken HTTP(S) links | ||
uses: lycheeverse/lychee-action@v2 | ||
id: lychee | ||
with: | ||
args: > | ||
-n -s https -s http --base 'https://docs.tact-lang.org' | ||
--exclude-path docs/node_modules | ||
--exclude '.*?\\.(?:jpg|png)' | ||
docs/README.md './docs/**/*.mdx' | ||
output: "/dev/stdout" | ||
fail: false | ||
failIfEmpty: false | ||
|
||
- name: (dev-docs) Check broken HTTP(S) links | ||
uses: lycheeverse/lychee-action@v2 | ||
id: lychee_dev | ||
with: | ||
args: > | ||
-n -s https -s http | ||
--exclude-path node_modules --exclude-path docs | ||
'./**/*.md' | ||
output: "/dev/stdout" | ||
fail: false | ||
failIfEmpty: false |
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,62 @@ | ||
name: Linter check | ||
|
||
env: | ||
HUSKY: 0 | ||
|
||
on: | ||
pull_request: | ||
branches: ["**"] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
linter: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Node.js 22 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 22 | ||
cache: "yarn" | ||
|
||
- name: Install dependencies | ||
run: | | ||
corepack enable | ||
yarn install | ||
- name: Prepare linter | ||
run: | | ||
yarn gen:grammar | ||
yarn gen:stdlib | ||
yarn gen:func-js | ||
yarn gen:contracts:test | ||
- name: Check there are no errors to be fixed in package.json and no uncommitted changes | ||
run: | | ||
npm pkg fix && git diff --exit-code | ||
- name: Check there are no errors reported by ESLint | ||
run: | | ||
yarn lint | ||
- name: Check formatting with Prettier | ||
run: | | ||
yarn fmt:check | ||
- name: Spellcheck code base | ||
run: | | ||
yarn spell | ||
- name: Check there are no unused dependencies | ||
run: | | ||
yarn knip | ||
- name: Check broken file references in internal documentation | ||
uses: lycheeverse/lychee-action@v2 | ||
with: | ||
args: "-n -s file --exclude-path node_modules --exclude-path docs './**/*.md'" | ||
output: "/dev/stdout" | ||
fail: true | ||
failIfEmpty: false |
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
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,2 @@ | ||
# https://github.com/lycheeverse/lychee-action#excluding-links-from-getting-checked | ||
https://www.certik.com/resources/blog/secure-smart-contract-programming-in-tact-popular-mistakes-in-the-ton |
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 |
---|---|---|
@@ -1,8 +1,9 @@ | ||
/dist | ||
/src/func/funcfiftlib.js | ||
/src/func/funcfiftlib.wasm.js | ||
/src/grammar/grammar.ohm-bundle.d.ts | ||
/src/grammar/grammar.ohm-bundle.js | ||
/src/imports/stdlib.ts | ||
/src/grammar/prev/grammar.ohm-bundle.d.ts | ||
/src/grammar/prev/grammar.ohm-bundle.js | ||
src/grammar/next/grammar.ts | ||
/src/stdlib/stdlib.ts | ||
/grammar | ||
/docs |
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.