Skip to content

Commit

Permalink
Let docs job depend on builds job
Browse files Browse the repository at this point in the history
  • Loading branch information
jzbor committed Jun 13, 2024
1 parent 0cbfe04 commit c96da03
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
pull_request:
branches: [ "main" ]

permissions:
pages: write
id-token: write

env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-Dwarnings"
Expand Down Expand Up @@ -36,6 +40,7 @@ jobs:

docs:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- name: Build docs
Expand Down

0 comments on commit c96da03

Please sign in to comment.