Skip to content

Commit

Permalink
Basic Version
Browse files Browse the repository at this point in the history
  • Loading branch information
Archetapp authored Feb 27, 2024
1 parent bb72452 commit cccdc7c
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,18 @@ name: Swift

on:
push:
branches: [ main ] # Trigger workflow on push events to the main branch
branches: [ "main" ]
pull_request:
branches: [ main ] # Also trigger workflow on pull requests to the main branch
branches: [ "main" ]

jobs:
build:
name: Build and Test 🚀
runs-on: macos-latest
steps:
- uses: swift-actions/setup-swift@v1
with:
swift-version: ${{ matrix.swift }}
- uses: actions/checkout@v4
- name: Build
run: swift build
- name: Run tests
run: swift test

runs-on: macos-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v

0 comments on commit cccdc7c

Please sign in to comment.