Skip to content
alert-triangle

GitHub Action

XCAudit

0.1.3 Latest version

XCAudit

alert-triangle

XCAudit

Xcode logs formatter for GitHub Actions

Installation

Copy and paste the following snippet into your .yml file.

              

- name: XCAudit

uses: Alexander-Ignition/XCAudit@0.1.3

Learn more about this action in Alexander-Ignition/XCAudit

Choose a version

XCAudit

Test SPM compatible Swift 5.3 GitHub license

Audit Xcode build logs for GitHub Actions

Example PR

test-fail

Requirements

  • Swift 5.3
  • macOS 10.15

Example Workflow

# .github/workflows/test.yml

name: Test
on:
  push:
    branches:
      - main
    tags-ignore:
      - '**'
  pull_request:
    branches:
      - '**'

jobs:
  test:
    name: Run tests
    runs-on: macOS-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Install xcaudit
        uses: Alexander-Ignition/XCAudit@main
      - name: Build and test
        run: swift test --enable-code-coverage --disable-automatic-resolution 2>&1 | xcaudit
        shell: bash

License

MIT