Merge pull request #1459 from matt-livefront/fix-automockable-type-co… #319
This file contains hidden or 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
| # 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: test ubuntu | |
| on: | |
| workflow_call: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.ref_type != 'tag' }} | |
| jobs: | |
| linux_build: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Setup Swift | |
| uses: YOCKOW/Action-setup-swift@main | |
| with: | |
| swift-version: "5.10" | |
| - name: Get swift version | |
| run: swift --version | |
| - uses: actions/checkout@v3 | |
| - name: Run tests | |
| run: swift test |