diff --git a/.github/workflows/main-safety.yml b/.github/workflows/main-safety.yml new file mode 100644 index 0000000..b159ce2 --- /dev/null +++ b/.github/workflows/main-safety.yml @@ -0,0 +1,24 @@ +# 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: Main safety + +on: + pull_request: + branches: [ "main" ] + +jobs: + build_and_test: + + runs-on: macos-latest + + steps: + - uses: swift-actions/setup-swift@v2 + with: + swift-version: "6.0.0" + - name: Get swift version + run: swift --version +# - name: Build +# run: swift build -v +# - name: Run tests +# run: swift test -v