chore(ci): try to enable selector by fixing versions.json #83
This file contains hidden or 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
| name: Test | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| uv_lock: | |
| name: Validate uv.lock | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout ethereum/steel-website | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| - name: Install uv ${{ vars.UV_VERSION }} and python ${{ vars.DEFAULT_PYTHON_VERSION }} | |
| uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 | |
| with: | |
| version: ${{ vars.UV_VERSION }} | |
| python-version: ${{ vars.DEFAULT_PYTHON_VERSION }} | |
| - name: Check uv.lock file | |
| run: uv lock --check | |
| spellcheck: | |
| name: Spellcheck sources with codespell | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout ethereum/steel-website | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| - name: Install uv ${{ vars.UV_VERSION }} and python ${{ vars.DEFAULT_PYTHON_VERSION }} | |
| uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 | |
| with: | |
| version: ${{ vars.UV_VERSION }} | |
| python-version: ${{ vars.DEFAULT_PYTHON_VERSION }} | |
| - name: Run spellcheck with codespell | |
| run: uvx tox -e spellcheck | |
| actionlint: | |
| name: Lint GitHub Actions workflows | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout ethereum/steel-website | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| - name: Install uv ${{ vars.UV_VERSION }} and python ${{ vars.DEFAULT_PYTHON_VERSION }} | |
| uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 | |
| with: | |
| version: ${{ vars.UV_VERSION }} | |
| python-version: ${{ vars.DEFAULT_PYTHON_VERSION }} | |
| - name: Lint workflows with actionlint | |
| run: uvx tox -e actionlint | |
| # check_links: | |
| # name: Check links with lychee | |
| # runs-on: ubuntu-latest | |
| # steps: | |
| # - name: Checkout ethereum/steel-website | |
| # uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| # - name: Run lychee | |
| # uses: lycheeverse/lychee-action@a8c4c7cb88f0c7386610c35eb25108e448569cb0 # 2.7.0 | |
| # with: | |
| # args: > | |
| # --root-dir "$(pwd)" | |
| # --no-progress | |
| # README.md | |
| # ./docs/**/*.md | |
| # fail: true | |
| # format: markdown | |
| # jobSummary: true | |
| # output: lychee/out.md | |
| build: | |
| name: Build the site with zensical | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout ethereum/steel-website | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| - name: Install uv ${{ vars.UV_VERSION }} and python ${{ vars.DEFAULT_PYTHON_VERSION }} | |
| uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 | |
| with: | |
| version: ${{ vars.UV_VERSION }} | |
| python-version: ${{ vars.DEFAULT_PYTHON_VERSION }} | |
| - name: Build site | |
| run: uvx tox -e build |