Skip to content

chore(deps): update dependency ruby to v3.3.4 - autoclosed #51

chore(deps): update dependency ruby to v3.3.4 - autoclosed

chore(deps): update dependency ruby to v3.3.4 - autoclosed #51

Workflow file for this run

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