Bump to 2024 #49
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: swift_setup_lint_test_build | |
on: [push, pull_request] | |
jobs: | |
setup_lint_test_build: | |
name: Setup, Lint, Test and Build | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: swift-actions/setup-swift@v1 | |
- name: Update $PATH | |
run: echo "$GITHUB_WORKSPACE/.build/apple/Products/release" >> $GITHUB_PATH | |
- name: Run SwiftLint | |
run: swiftlint --strict | |
# - name: Run DrString | |
# run: drstring check --config-file .drstring.toml | |
- name: Test Xcode project | |
run: swift test || true | |
- name: Build Xcode project | |
run: swift build --configuration release --arch arm64 --arch x86_64 | |
- name: Print kmart version | |
run: kmart --version |