diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3ebcbe8d..13d19c6b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,6 +28,9 @@ jobs: - name: Install Poetry uses: snok/install-poetry@v1 + - name: Install maturin + run: pip install maturin + - name: Copy environment file run: cp .env.sample .env diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 176e47b8..b3ce3b38 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,35 +1,37 @@ - name: docs - on: - push: - branches: - - master - - main - permissions: - contents: write - jobs: - deploy: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Configure Git Credentials - run: | - git config user.name github-actions[bot] - git config user.email 41898282+github-actions[bot]@users.noreply.github.com - - uses: actions/setup-python@v5 - with: - python-version: 3.x - - name: Install Poetry - uses: snok/install-poetry@v1 - - name: Copy environment file - run: cp .env.sample .env - - name: Install dependencies - run: make install - - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV - - uses: actions/cache@v4 - with: - key: mkdocs-material-${{ env.cache_id }} - path: .cache - restore-keys: | - mkdocs-material- - - run: poetry run mkdocs build - - run: poetry run mkdocs gh-deploy --force +name: docs +on: + push: + branches: + - master + - main +permissions: + contents: write +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Configure Git Credentials + run: | + git config user.name github-actions[bot] + git config user.email 41898282+github-actions[bot]@users.noreply.github.com + - uses: actions/setup-python@v5 + with: + python-version: 3.x + - name: Install Poetry + uses: snok/install-poetry@v1 + - name: Install maturin + run: pip install maturin + - name: Copy environment file + run: cp .env.sample .env + - name: Install dependencies + run: make install + - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV + - uses: actions/cache@v4 + with: + key: mkdocs-material-${{ env.cache_id }} + path: .cache + restore-keys: | + mkdocs-material- + - run: poetry run mkdocs build + - run: poetry run mkdocs gh-deploy --force