Skip to content
Merged
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
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
toolchain: stable
target: wasm32-unknown-unknown
try-runtime-chain: dev
try-runtime-uri: wss://eden-rpc.dwellir.com:443/
try-runtime-uri: wss://eden-api.dwellir.com:443/
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
RUSTFLAGS: ""
Expand All @@ -33,7 +33,7 @@ jobs:
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: ${{ env.toolchain }}
components: rustfmt, clippy
components: rustfmt, clippy, rust-src
target: ${{ env.target }}
- name: Rustfmt Check
uses: actions-rust-lang/rustfmt@v1
Expand All @@ -54,6 +54,7 @@ jobs:
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: ${{ env.toolchain }}
components: rust-src
target: ${{ env.target }}
- name: Install protobuf-compiler
run: |
Expand All @@ -73,6 +74,7 @@ jobs:
with:
toolchain: ${{ env.toolchain }}
target: ${{ env.target }}
components: rust-src
- name: Install protobuf-compiler
run: |
sudo apt-get install protobuf-compiler
Expand Down Expand Up @@ -100,6 +102,7 @@ jobs:
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: ${{ env.toolchain }}
components: rust-src
target: ${{ env.target }}
- name: Setup sccache
uses: mozilla-actions/sccache-action@v0.0.3
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/devcontainer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: DevContainer
on:
schedule:
- cron: '0 0 * * 0'
pull_request:
branches:
- master

jobs:

Expand All @@ -22,9 +25,13 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Prepare Env
id: prepare
run: |
([[ ${{ github.event_name == 'pull_request' }} == true ]] && echo "push=never" || echo "push=always" ) >> $GITHUB_OUTPUT
- name: Pre-build dev container image
uses: devcontainers/ci@v0.3
with:
imageName: ghcr.io/nodlecode/devcontainer-chain
cacheFrom: ghcr.io/nodlecode/devcontainer-chain
push: always
push: ${{ steps.prepare.outputs.push }}
3 changes: 3 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
tags:
- "[0-9].*"
pull_request:
branches:
- master

jobs:

Expand Down
Loading