Skip to content

sinoru/actions-setup-swift

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

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

About

Set up your GitHub Actions workflow with a specific version of swift

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published