diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 29e6833f109606f1909cdd0bef89eeeab47d19d8..417f94048895bd9b247509de31cb030280b299a5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,7 +27,7 @@ variables: - artifacts/ .docker-env: &docker-env - image: ${REGISTRY}/ink-ci-linux:latest + image: parity/rust-builder:latest before_script: - cargo -vV - rustc -vV @@ -62,6 +62,7 @@ fmt: stage: check <<: *docker-env script: + - rustup component add rustfmt - cargo fmt --verbose --all -- --check #### stage: test @@ -72,8 +73,8 @@ test: script: - cargo test --verbose --all-features --release -#### stage: build - +#### stage: build + build: stage: build <<: *docker-env @@ -81,4 +82,4 @@ build: - schedules - master script: - - cargo build --verbose --all-features --release \ No newline at end of file + - cargo build --verbose --all-features --release diff --git a/README.md b/README.md index d430f36354b0a58280156390719195658bffcc87..dda99ea5ca71b4964915f47249dd2d74962dca30 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Cargo plugin for [`ink!`](https://github.com/paritytech/ink) contracts +[![GitHub license](https://img.shields.io/github/license/paritytech/cargo-contract)](LICENSE) [![GitLab Status](https://gitlab.parity.io/parity/cargo-contract/badges/master/pipeline.svg)](https://gitlab.parity.io/parity/cargo-contract/pipelines) + **IMPORTANT NOTE:** WORK IN PROGRESS! Do not expect this to be working. A small CLI tool for helping setting up and managing WebAssembly smart contracts written with ink!.