update workflow (#318)
parent
cadb6a50ac
commit
8984d89760
|
@ -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
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
[workspace]
|
||||
members = [
|
||||
'node',
|
||||
'pallets/template',
|
||||
'runtime',
|
||||
"node",
|
||||
"pallets/template",
|
||||
"runtime",
|
||||
]
|
||||
[profile.release]
|
||||
panic = 'unwind'
|
||||
panic = "unwind"
|
||||
|
|
Loading…
Reference in New Issue