diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml new file mode 100644 index 0000000..c4a04d5 --- /dev/null +++ b/.github/workflows/checks.yml @@ -0,0 +1,12 @@ +name: Checks +on: + push: + branches: + - master +jobs: + macOS: + runs-on: macos-latest + steps: + - uses: actions/checkout@v2 + - run: swift --version + - run: swift test --parallel diff --git a/README.md b/README.md index 7f71fd1..0c4016a 100644 --- a/README.md +++ b/README.md @@ -434,7 +434,7 @@ Carthage: [docs]: https://mxcl.dev/Path.swift/Structs/Path.html [badge-jazzy]: https://raw.githubusercontent.com/mxcl/Path.swift/gh-pages/badge.svg?sanitize=true [badge-codecov]: https://codecov.io/gh/mxcl/Path.swift/branch/master/graph/badge.svg -[badge-ci]: https://travis-ci.com/mxcl/Path.swift.svg +[badge-ci]: https://github.com/mxcl/Path.swift/workflows/Checks/badge.svg [travis]: https://travis-ci.com/mxcl/Path.swift [codecov]: https://codecov.io/gh/mxcl/Path.swift [badge-version]: https://img.shields.io/cocoapods/v/Path.swift.svg?label=version