Skip to content

Commit

Permalink
Create swift.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelesantos committed Mar 19, 2024
1 parent 1dd4ccc commit 410ce02
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# 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: Testing

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: macos-latest

steps:
- uses: actions/checkout@v3
- uses: swift-actions/setup-swift@v1
with:
swift-version: "5.9"
- name: Get swift version
run: swift --version
- name: Build
run: swift build
- name: Run tests
run: swift test

0 comments on commit 410ce02

Please sign in to comment.