Skip to content

Fix/workflow improvements #3645

Fix/workflow improvements

Fix/workflow improvements #3645

Workflow file for this run

---
name: Build
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
workflow_dispatch:
# Cancel older runs on the same PR/branch
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions: {} # lock everything by default (least-privilege)
jobs:
build:
name: Build
runs-on: ubuntu-latest
permissions:
contents: read # least-privilege for this job only
steps:
- name: Checkout repository
uses: actions/checkout@v5 # Official GitHub action; intentionally not pinned so we stay on the latest v5.x
- name: Build docs
uses: Consensys/github-actions/docs-build@main