Add renovate.json #28
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
name: CI | |
on: [push, pull_request] | |
jobs: | |
Build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: nightly-2020-09-28 | |
override: true | |
- uses: docker-practice/actions-setup-docker@master | |
with: | |
docker_channel: nightly | |
# this value please see https://github.com/AkihiroSuda/moby-snapshot/releases | |
docker_nightly_version: snapshot-20201008 | |
- name: Install Capsule | |
run: | | |
mkdir -p ./capsule && curl -L https://github.com/nervosnetwork/capsule/releases/download/v0.4.3/capsule_v0.4.3_x86_64-linux.tar.gz | tar xvz -C ./capsule --strip-components=1 | |
chmod +x ./capsule/capsule | |
- name: Build contracts | |
run: ./capsule/capsule build | |
- name: Test contracts | |
run: make test |