Skip to content
This repository was archived by the owner on Nov 29, 2025. It is now read-only.

feat: cache swiftly and self update #13

feat: cache swiftly and self update

feat: cache swiftly and self update #13

Workflow file for this run

# Copyright © 2025 Cassidy Spring (Bee).
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
name: tests
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
test:
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
swift-version: ["latest", "6", "6.1"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- uses: ./
id: swiftly-swift
with:
swift-version: ${{ matrix.swift-version }}
- name: Verify Swift Version
shell: bash
run: |
echo "Input version: ${{ matrix.swift-version }}"
echo "Resolved version: ${{ steps.swiftly-swift.outputs.swift-version }}"
swift --version
swift --version | grep -q 'Swift version ${{ steps.swiftly-swift.outputs.swift-version }}'