Skip to content

feat: update the CI to use paritytech/ci-linux:production #125

feat: update the CI to use paritytech/ci-linux:production

feat: update the CI to use paritytech/ci-linux:production #125

Workflow file for this run

name: Check Set-Up & Build
# Controls when the action will run.
on:
pull_request:
branches: [main]
types: [synchronize, reopened, ready_for_review, labeled]
label:
types: [created, deleted]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
env:
RUSTFLAGS: "" # To ovveride the default "-D warnings" that can be too tedious.
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
fmt:
# The type of runner that the job will run on
runs-on: ubuntu-22.04
container:
image: paritytech/ci-linux:production
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
# Fail fast: check formatting first as it doesn't require compilation
- name: Check the formatting
run: cargo +nightly fmt --all --check
test:
# The type of runner that the job will run on
needs: check

Check failure on line 34 in .github/workflows/check.yml

View workflow run for this annotation

GitHub Actions / Check Set-Up & Build

Invalid workflow file

The workflow is not valid. .github/workflows/check.yml (Line: 34, Col: 12): Job 'test' depends on unknown job 'check'.
runs-on: ubuntu-22.04
container:
image: paritytech/ci-linux:production
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Required by actions/cache@v3
- name: Set-Up
run: apt update && apt install -y nodejs
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Test the Parachain
run: SKIP_WASM_BUILD=1 cargo test --locked