Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ jobs:

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,17 @@ jobs:
coverage:
name: coverage
runs-on: ubuntu-latest

container:
image: xd009642/tarpaulin:develop-nightly
options: --security-opt seccomp=unconfined

steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- name: Checkout repository
uses: actions/checkout@v2

Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
docs:
if: github.event_name == 'push' && github.event.ref == 'refs/heads/main'
# if: github.event_name == 'push' && github.event.ref == 'refs/heads/main'
name: docs
runs-on: ubuntu-20.04
steps:
Expand All @@ -18,13 +18,16 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
toolchain: stable

- name: Update apt repositories
run: sudo apt update

- name: Fetch submodule deps
run: git submodule update --init --recursive

- name: Build documentation
run: cargo doc --no-deps
run: RUST_BACKTRACE=1 cargo doc --all-features --no-deps --release --workspace --exclude open-runtime-module-library/LICENSE --exclude open-runtime-module-library/currencies --exclude open-runtime-module-library/traits --exclude ./open-runtime-module-library/utilities --exclude webb-client
- name: Publish documentation
run: |
cd target/doc
Expand Down