chore: update minimum rust version #24
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: Coverage | |
on: | |
push: | |
branches: master | |
jobs: | |
upload-coverage: | |
runs-on: ubuntu-latest | |
services: | |
ftp_server: | |
image: adilsinho/ftp-server | |
ports: | |
- 20:20 | |
- 21:21 | |
- 2558:2558 | |
- 2559:2559 | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: hecrj/setup-rust-action@master | |
with: | |
rust-version: stable | |
- name: Install coverage tool | |
run: cargo install cargo-tarpaulin --force | |
- name: Build project | |
run: cargo build --verbose | |
- name: Run tests | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
SERVER_HOSTNAME: localhost | |
run: cargo tarpaulin --out Xml && bash <(curl -s https://codecov.io/bash) |