Skip to content

feat: add EventSub #144

feat: add EventSub

feat: add EventSub #144

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
jobs:
build:
name: Build + Test (${{ matrix.os }}, Swift ${{ matrix.swift-version }})
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
swift-version: "5.10"
- os: macos-14
swift-version: "5.10"
steps:
- uses: actions/checkout@v3
- name: Install Swift ${{ matrix.swift-version }}
uses: slashmo/install-swift@v0.4.0
with:
version: ${{ matrix.swift-version }}
- name: Build
run: swift build -v
- name: Test
run: swift test
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run SwiftLint
uses: norio-nomura/action-swiftlint@3.2.1
with:
args: --strict
format:
name: Check formatting
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Install apple/swift-format
run: brew install swift-format
- name: Check formatting
run: swift-format lint -rs --color-diagnostics .