ci: Update various github action versions #37
Workflow file for this run
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: Run CI | ||
on: | ||
push: | ||
branches: [ main ] | ||
paths-ignore: | ||
- '**.md' # Do not need to run CI for markdown changes. | ||
pull_request: | ||
branches: [ main ] | ||
paths-ignore: | ||
- '**.md' | ||
jobs: | ||
macos-build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
include: | ||
- xcode-version: 15.0.1 | ||
ios-sim: 'platform=iOS Simulator,name=iPhone 17,OS=17.0' | ||
os: macos-13 | ||
- xcode-version: 14.3.1 | ||
ios-sim: 'platform=iOS Simulator,name=iPhone 16,OS=16.4' | ||
os: macos-13 | ||
- xcode-version: 13.4.1 | ||
ios-sim: 'platform=iOS Simulator,name=iPhone 11,OS=15.5' | ||
os: macos-12 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 # If you only need the current version keep this. | ||
- uses: ./.github/actions/ci | ||
with: | ||
xcode-version: ${{ matrix.xcode-version }} | ||
ios-sim: ${{ matrix.ios-sim }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
- uses: ./.github/actions/build-docs | ||
linux-build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
versions: | ||
- { swift: 5.1, checkout: 'v3' } | ||
- { swift: 5.2, checkout: 'v3' } | ||
- { swift: 5.3, checkout: 'v3' } | ||
- { swift: 5.4, checkout: 'v3' } | ||
- { swift: 5.5, checkout: 'v3' } | ||
- { swift: 5.6, checkout: 'v3' } | ||
- { swift: 5.7, checkout: 'v4' } | ||
- { swift: 5.8, checkout: 'v4' } | ||
- { swift: 5.9, checkout: 'v4' } | ||
container: swift:${{ matrix.versions.swift }} | ||
steps: | ||
- uses: actions/checkout@${{ matrix.versions.checkout }} | ||
Check failure on line 62 in .github/workflows/ci.yml GitHub Actions / Run CIInvalid workflow file
|
||
with: | ||
fetch-depth: 0 # If you only need the current version keep this. | ||
- name: Build and test | ||
run: swift test --enable-test-discovery | ||
windows-build: | ||
name: Windows - Swift 5.9 | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install Swift | ||
uses: compnerd/gha-setup-swift@cd348eb89f2f450b0664c07fb1cb66880addf17d | ||
with: | ||
branch: swift-5.9-release | ||
tag: 5.9-RELEASE | ||
- name: Build and test | ||
run: swift test |