ci: 🎡 install toolchain

This commit is contained in:
Stepan Kuzmin 2019-09-29 18:16:11 +03:00
parent 31dffd043b
commit 9053bbaab7
No known key found for this signature in database
GPG Key ID: 41335DA6EE45C2B6

View File

@ -15,6 +15,17 @@ jobs:
- name: Checkout
uses: actions/checkout@v1
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
default: true
- name: Run checks
uses: actions-rs/cargo@v1
with:
command: check
- name: Build
uses: actions-rs/cargo@v1
with:
@ -28,8 +39,6 @@ jobs:
- name: Build assets
run: |
cargo install clog-cli
clog --setversion ${{ github.ref }}
cd ./target/release
zip martin-${{ matrix.os }}-${{ github.ref }}.zip martin
shasum -a 256 martin-${{ matrix.os }}-${{ github.ref }}.zip