update workflow (#318)

main
Dan Shields 2022-03-02 22:44:55 -07:00 committed by GitHub
parent cadb6a50ac
commit 8984d89760
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 8 deletions

View File

@ -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

View File

@ -1,8 +1,8 @@
[workspace]
members = [
'node',
'pallets/template',
'runtime',
"node",
"pallets/template",
"runtime",
]
[profile.release]
panic = 'unwind'
panic = "unwind"