diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 219cfeb..6428ff9 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -4,9 +4,9 @@ name: Check Set-Up & Build on: # Triggers the workflow on push or pull request events but only for the master branch push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] + branches: [ main ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -23,11 +23,11 @@ jobs: - uses: actions/checkout@v2 - name: Set-Up - run: sudo apt install -y cmake pkg-config libssl-dev git build-essential clang libclang-dev curl + run: sudo apt install -y git clang curl libssl-dev llvm libudev-dev - name: Install Rustup run: | - curl https://sh.rustup.rs -sSf | sh -s -- -y + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y source ~/.cargo/env rustup default stable rustup update nightly diff --git a/Cargo.toml b/Cargo.toml index f6ca89e..538fd8d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,8 +1,8 @@ [workspace] members = [ - 'node', - 'pallets/template', - 'runtime', + "node", + "pallets/template", + "runtime", ] [profile.release] -panic = 'unwind' +panic = "unwind"