Skip to content

chore: update minimum rust version #24

chore: update minimum rust version

chore: update minimum rust version #24

Workflow file for this run

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)