mirror of
https://github.com/AleoHQ/leo.git
synced 2024-11-29 11:43:28 +03:00
d4a765398c
- loggin for leo add was not necessary - login/logout CI is separated - add/remove checked together w/o logging in
44 lines
873 B
YAML
44 lines
873 B
YAML
name: leo-add-remove
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths-ignore:
|
|
- 'docs/**'
|
|
- 'documentation/**'
|
|
env:
|
|
RUST_BACKTRACE: 1
|
|
|
|
jobs:
|
|
add:
|
|
name: Add Package ('leo add')
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v1
|
|
|
|
- name: Install Rust
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
profile: minimal
|
|
toolchain: nightly
|
|
override: true
|
|
components: rustfmt
|
|
|
|
- name: Install Leo
|
|
uses: actions-rs/cargo@v1
|
|
env:
|
|
CARGO_NET_GIT_FETCH_WITH_CLI: true
|
|
with:
|
|
command: install
|
|
args: --path .
|
|
|
|
- name: 'leo add (w/o login) & remove'
|
|
run: |
|
|
cd .. && leo new my-app && cd my-app
|
|
leo add argus4130/xnor
|
|
leo remove xnor
|
|
leo clean
|
|
|