Skip to content

Commit

Permalink
Merge branch 'fraccaman/ci-improvements'
Browse files Browse the repository at this point in the history
* fraccaman/ci-improvements:
  fixup! ci: add job checking for cargo docs
  ci: do not run changelog check on rc branches
  ci: increase integration tests timeout
  ci: add job checking for cargo docs
  • Loading branch information
Fraccaman committed Aug 23, 2024
2 parents 0af6107 + d859b0e commit 7ad66a9
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ env:
jobs:
changelog:
runs-on: [ubuntu-latest]
if: github.event_name == 'pull_request_target' && github.event.pull_request.draft == false
timeout-minutes: 15
if: github.event_name == 'pull_request_target' && github.event.pull_request.draft == false && !contains(github.ref, '-rc')
timeout-minutes: 5

steps:
- name: Checkout repo
Expand All @@ -54,6 +54,27 @@ jobs:
run: bash .github/workflows/scripts/check-changelog.sh
env:
SHA: ${{ github.event.pull_request.head.sha }}

rust-docs:
runs-on: [ubuntu-latest]
timeout-minutes: 20

steps:
- name: Checkout repo
if: ${{ github.event_name != 'pull_request_target' }}
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Checkout PR
if: ${{ github.event_name == 'pull_request_target' }}
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: Install rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Build docs
run: make build-doc

lints:
container:
Expand Down Expand Up @@ -309,7 +330,7 @@ jobs:
runs-on: [self-hosted, 8vcpu-16ram-ubuntu22-namada-x86]
container:
image: ghcr.io/heliaxdev/namada-ci:namada-main
timeout-minutes: 15
timeout-minutes: 20
needs: [build-wasm]

steps:
Expand Down

0 comments on commit 7ad66a9

Please sign in to comment.