perf: avoid read after create when possible (#4041) #1251
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
name: Generate cargo docs | |
on: | |
workflow_dispatch: | |
inputs: # null | |
push: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
generate-cargo-docs: | |
name: "Generate cargo docs for the workspace" | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: cachix/install-nix-action@v22 | |
- run: | | |
git config user.email "[email protected]" | |
git config user.name "prisma-bot" | |
- run: nix run .#publish-cargo-docs |