Skip to content

Linter error

Linter error #30

Workflow file for this run

name: pr-workflow
on:
pull_request:
branches: [ "main" ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
swiftLint:
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Mark github workspace as safe
run: |
git config --global --add safe.directory /github/workspace
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
# Runs a single command using the runners shell
- name: SwiftLint
uses: sinoru/actions-swiftlint@v6
env:
DIFF_BASE: ${{ github.base_ref }}