chore(deps): update dependency techprimate/tppdf to from: "2.6.1" #37
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: Build, Lint & Test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
run-macos: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Enable development dependencies | |
run: | | |
sed -i.bak "s/\/\/dev//g" Package.swift | |
- name: Build | |
run: swift build | |
- name: Run tests | |
run: swift test --enable-code-coverage | |
- name: Generate Code Coverage | |
run: | | |
xcrun llvm-cov export \ | |
.build/debug/TPPDFAsyncPackageTests.xctest/Contents/MacOS/TPPDFAsyncPackageTests \ | |
-instr-profile .build/debug/codecov/default.profdata \ | |
--format="lcov" \ | |
--ignore-filename-regex "\\.build" \ | |
--ignore-filename-regex "Tests" > info.lcov | |
- name: Upload Code Coverage | |
run: | | |
bash <(curl -s https://codecov.io/bash) \ | |
-J 'TPPDFAsync' \ | |
-G info.lcov | |
swiftlint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: SwiftLint | |
uses: norio-nomura/[email protected] |