Skip to content

Configure Renovate

Configure Renovate #40

Workflow file for this run

name: Build, Lint & Test
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
run-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- 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/CoolDownPackageTests.xctest/Contents/MacOS/CoolDownPackageTests \
-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 'CoolDown' \
-G info.lcov
swiftlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: SwiftLint
uses: norio-nomura/[email protected]