Support sending messages over IRC #154
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/[email protected] | |
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/[email protected] | |
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 . |