Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 895 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 895 Bytes

actions-setup-swift

Unit Tests Tests

This action sets up a swift environment for use in actions by:

  • optionally downloading a version of swift from swift.org using swiftenv.

Usage

See action.yml

Basic:

steps:
- uses: actions/checkout@v3
- uses: sinoru/actions-setup-swift@v2
  with:
    swift-version: '5.6.1' # Exact version of a Swift version to use
- run: swift build
- run: swift test

License

The scripts and documentation in this project are released under the MIT License