Bump actions/checkout from 3.3.0 to 4.1.7 #101
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: CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
ci: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-18.04, ubuntu-20.04, ubuntu-22.04, macos-latest] | |
swift: | |
[ | |
5.7, | |
swift-DEVELOPMENT-SNAPSHOT-2023-01-18-a, | |
swift-5.8-DEVELOPMENT-SNAPSHOT-2023-01-13-a, | |
] | |
include: | |
- swift: 5.7 | |
expected-version-string: "Swift version 5.7 (swift-5.7-RELEASE)" | |
- swift: swift-DEVELOPMENT-SNAPSHOT-2023-01-18-a | |
expected-version-string: "Swift version 5.9-dev (LLVM 3f23b4ceaf01213, Swift 0763e4b98c74b5b)" | |
- swift: swift-5.8-DEVELOPMENT-SNAPSHOT-2023-01-13-a | |
expected-version-string: "Swift version 5.8-dev (LLVM 08f7fecaf6cedb8, Swift 7632e9a645bcb05)" | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Install Swift | |
uses: ./ | |
with: | |
version: ${{ matrix.swift }} | |
- name: Print Swift Version | |
run: swift --version | |
- name: Check Swift Version | |
run: | | |
set -e | |
swift --version | grep "${{ matrix.expected-version-string }}" |