diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 0574402..32d1f4f 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -9,32 +9,20 @@ on: jobs: lint: - runs-on: macos-10.15 + runs-on: macos-latest steps: - uses: actions/checkout@v2 - - name: Lint the code - run: swiftlint lint + - uses: cirruslabs/swiftlint-action@v1 - build-xc12: - runs-on: macos-10.15 + build-xcode-latest: + runs-on: macos-latest steps: - uses: actions/checkout@v2 - - name: Select xcode - run: sudo xcode-select -s /Applications/Xcode_12.app - - name: Run tests - run: swift test - - build-xc12_2-beta: - runs-on: macos-10.15 - steps: - - uses: actions/checkout@v2 - - name: Select xcode - run: sudo xcode-select -s /Applications/Xcode_12.2.app - name: Run tests run: swift test build-linux: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Run tests