Skip to content

add connection options to NetService convenience initializer #893

add connection options to NetService convenience initializer

add connection options to NetService convenience initializer #893

Workflow file for this run

# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
name: Swift
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
name: Swift ${{ matrix.swift }} on ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: swift-actions/setup-swift@v1
- uses: actions/checkout@v4
- name: Linux dependencies
if: runner.os == 'Linux'
run: sudo apt-get install liburing-dev libavahi-compat-libdnssd-dev libavahi-client-dev
- name: Build
run: swift build
- name: Run tests
run: swift test