-
Notifications
You must be signed in to change notification settings - Fork 391
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into feat/dapp-staking-v3
- Loading branch information
Showing
242 changed files
with
22,892 additions
and
9,163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
name: Astar Release Checklist | ||
about: Checklist to follow before creating a new release | ||
title: 'Release v_xx Checklist' | ||
labels: | ||
assignees: '' | ||
--- | ||
|
||
## Release v_xx Specific | ||
<!--- | ||
All the preparation specific for this release, for example | ||
- [x] Test batch precompile in Astar & Shiden | ||
- [x] Test xtokens in Astar | ||
--> | ||
|
||
|
||
## Runtime Release | ||
- [ ] Check Semver bumped for below crates | ||
- `astar-runtime` | ||
- `shiden-runtime` | ||
- `shibuya-runtime` | ||
- `local-runtime` | ||
- `astar-collator` | ||
- `xcm-tools` (if needed) | ||
- [ ] Check Spec Version bumped for all runtimes | ||
- Astar: x -> y | ||
- Shiden: x -> y | ||
- Shibuya: x -> y | ||
- [ ] Verify completed migrations are removed from any public networks. | ||
|
||
|
||
## All Releases | ||
- [ ] Check and update new Github release is created with release logs. | ||
|
||
## Post Release | ||
- [ ] Notify Builders and DevOps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,34 +6,25 @@ on: | |
tags-ignore: | ||
- v[0-9]+.[0-9]+.[0-9]+* | ||
workflow_dispatch: | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} | ||
|
||
jobs: | ||
clean-up-actions: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Cancel Previous Runs | ||
# Only cancel non-master branch runs | ||
if: ${{ github.ref != 'refs/heads/master' }} | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
compile-and-check: | ||
runs-on: ubuntu-latest | ||
runs-on: [self-hosted, Linux, X64] | ||
steps: | ||
- name: Free disk space | ||
run: | | ||
sudo rm -rf /usr/share/dotnet | ||
sudo rm -rf /usr/local/lib/android | ||
sudo rm -rf /opt/ghc | ||
sudo rm -rf "/usr/local/share/boost" | ||
sudo rm -rf "$AGENT_TOOLSDIRECTORY" | ||
df -h | ||
- name: Checkout the source code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install deps | ||
run: sudo apt -y install protobuf-compiler | ||
run: | | ||
sudo apt -y install protobuf-compiler pkg-config | ||
if ! command -v sccache; then | ||
cargo install sccache --locked | ||
fi | ||
echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV | ||
echo "SCCACHE_CACHE_SIZE=100G" >> $GITHUB_ENV | ||
- name: Install & display rust toolchain | ||
run: rustup show | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,17 +3,11 @@ on: | |
pull_request: | ||
types: [opened, reopened, synchronize, ready_for_review] | ||
workflow_dispatch: | ||
jobs: | ||
clean-up-actions: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Cancel Previous Runs | ||
# Only cancel non-master branch runs | ||
if: ${{ github.ref != 'refs/heads/master' }} | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} | ||
|
||
jobs: | ||
coverage: | ||
if: github.event.pull_request.draft == false | ||
runs-on: ubuntu-latest | ||
|
@@ -53,7 +47,7 @@ jobs: | |
uses: actions-rs/[email protected] | ||
with: | ||
version: 0.22.0 | ||
args: '--workspace -e astar-collator xcm-tools local-runtime shibuya-runtime shiden-runtime astar-runtime integration-tests --exclude-files vendor/* bin/* runtime/* tests/* **/mock.rs **/weights.rs' | ||
args: '--workspace -e astar-collator xcm-tools local-runtime shibuya-runtime shiden-runtime astar-runtime integration-tests --exclude-files vendor/* bin/* runtime/* tests/* **/mock.rs **/weights.rs precompiles/utils_v2/*' | ||
out-type: Xml | ||
|
||
- name: Code Coverage Summary Report | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,10 @@ | ||
name: Static Analysis | ||
on: [push, workflow_dispatch] | ||
jobs: | ||
clean-up-actions: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Cancel Previous Runs | ||
# Only cancel non-master branch runs | ||
if: ${{ github.ref != 'refs/heads/master' }} | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} | ||
|
||
jobs: | ||
fmt: | ||
if: github.event.pull_request.draft == false | ||
runs-on: [self-hosted, Linux, X64] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,29 +6,14 @@ on: | |
tags-ignore: | ||
- v[0-9]+.[0-9]+.[0-9]+* | ||
workflow_dispatch: | ||
jobs: | ||
clean-up-actions: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Cancel Previous Runs | ||
# Only cancel non-master branch runs | ||
if: ${{ github.ref != 'refs/heads/master' }} | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} | ||
|
||
jobs: | ||
test-runtimes: | ||
runs-on: ubuntu-latest | ||
runs-on: [self-hosted, Linux, X64] | ||
steps: | ||
- name: Free disk space | ||
run: | | ||
sudo rm -rf /usr/share/dotnet | ||
sudo rm -rf /usr/local/lib/android | ||
sudo rm -rf /opt/ghc | ||
sudo rm -rf "/usr/local/share/boost" | ||
sudo rm -rf "$AGENT_TOOLSDIRECTORY" | ||
df -h | ||
- name: Checkout the source code | ||
uses: actions/checkout@v3 | ||
|
||
|
Oops, something went wrong.