Skip to content

Merge pull request #62 from SwiftPackageIndex/release-2.0 #205

Merge pull request #62 from SwiftPackageIndex/release-2.0

Merge pull request #62 from SwiftPackageIndex/release-2.0 #205

Workflow file for this run

name: Continuous Integration
on:
workflow_dispatch:
push:
jobs:
build-release:
strategy:
matrix:
# https://github.com/actions/virtual-environments
os: [macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: swift-actions/setup-swift@v2
with:
swift-version: "6.0"
- name: Echo Swift version
run: swift --version
- name: Check a Release build
run: swift build --disable-automatic-resolution -c release
test:
strategy:
matrix:
# https://github.com/actions/virtual-environments
os: [macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: swift-actions/setup-swift@v2
with:
swift-version: "6.0"
- name: Echo Swift version
run: swift --version
- name: Test
run: swift test --disable-automatic-resolution