Skip to content

update llms-full.txt #2

update llms-full.txt

update llms-full.txt #2

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
compile_and_verify:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache pnpm and node modules
uses: actions/cache@v4
with:
path: |
~/.pnpm-store
node_modules
key: pnpm-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
pnpm-${{ runner.os }}-
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Cache asdf tools
uses: actions/cache@v4
with:
path: |
~/.asdf
~/.cache/scarb
~/.cache/starknet-foundry
key: asdf-${{ runner.os }}-${{ hashFiles('.tool-versions') }}
restore-keys: |
asdf-${{ runner.os }}-
- name: Install asdf & tools
uses: asdf-vm/actions/install@9cd779f40fe38688dd19505ccbc4eaaf018b44e7
with:
asdf_version: 0.16.7
- name: Install Universal Sierra Compiler
run: |
curl -L https://raw.githubusercontent.com/software-mansion/universal-sierra-compiler/master/scripts/install.sh | sh
- name: Set default scarb version
run: asdf set -u scarb $(cat .tool-versions | grep scarb | cut -d ' ' -f 2)
- name: Set default starknet-foundry version
run: asdf set -u starknet-foundry $(cat .tool-versions | grep starknet-foundry | cut -d ' ' -f 2)
- name: Setup Rust cache
uses: Swatinem/rust-cache@v2
- name: Cache mdbook binaries
id: cache-mdbook
uses: actions/cache@v4
with:
path: |
~/.cargo/bin
~/.local/bin
key: mdbook-${{ runner.os }}-v4-${{ hashFiles('.tool-versions', '.github/workflows/install-mdbook/action.yml') }}
- name: Install mdbook and dependencies
if: steps.cache-mdbook.outputs.cache-hit != 'true'
uses: ./.github/workflows/install-mdbook
- name: Add binary paths to PATH
run: |
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
echo "$HOME/.local/bin" >> $GITHUB_PATH
shell: bash
- name: Build book (English)
run: mdbook build -d book
- name: Install cairo-listings
if: steps.cache-mdbook.outputs.cache-hit != 'true'
run: cargo install --git https://github.com/enitrat/cairo-listings --locked
shell: bash
- name: Run cairo-listings and generate summary
run: cairo-listings verify >> $GITHUB_STEP_SUMMARY
shell: bash
typos:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: crate-ci/typos@master