try fix syntax workflow
@@ -96,12 +96,13 @@ jobs:
options: --security-opt seccomp=unconfined
steps:
- name: Checkout repository
- - uses: actions/checkout@v2
+ uses: actions/checkout@v2
- name: Generate code coverage
- - run: apt-get update
- - run: apt install libwebkit2gtk-4.0-dev libappindicator3-dev libgtk-3-dev -y
- - run: cargo +nightly tarpaulin --verbose --tests --all-features --workspace --timeout 120 --out Xml
+ run: |
+ apt-get update &&\
+ apt install libwebkit2gtk-4.0-dev libappindicator3-dev libgtk-3-dev -y &&\
+ cargo +nightly tarpaulin --verbose --tests --all-features --workspace --timeout 120 --out Xml
- name: Upload to codecov.io
- - uses: codecov/codecov-action@v2
+ uses: codecov/codecov-action@v2
with:
fail_ci_if_error: false
