Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
abdullah-original committed Mar 19, 2024
1 parent 38070e3 commit b6c7017
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ on:
workflow_dispatch:
pull_request:
branches: [ main ]
paths:
- Sources/**
- Tests/**
- Package.swift
- .github/**

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -21,12 +26,12 @@ jobs:
name: Run tests
runs-on: macos-latest
steps:
- uses: swift-actions/setup-swift@v2
with:
swift-version: "5.9"
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: swift-actions/setup-swift@v2
with:
swift-version: "5.9"
- name: Build and test
run: swift build && swift test
run: swift test -Xswiftc -swift-version -Xswiftc "5.9.2"

0 comments on commit b6c7017

Please sign in to comment.