Skip to content

Bump slashmo/install-swift from 0.1.0 to 0.4.0 #2

Bump slashmo/install-swift from 0.1.0 to 0.4.0

Bump slashmo/install-swift from 0.1.0 to 0.4.0 #2

Workflow file for this run

name: PR
on:
pull_request:
branches: [develop]
jobs:
tests:
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- name: Linux
os: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Get swift version
id: get_swift_version
run: |
v=$(cat .swift-version)
echo "swift_version=$v" >> $GITHUB_OUTPUT
- uses: slashmo/[email protected] # swift-actions/setup-swift@v2
with:
# swift-version: ${{ steps.get_swift_version.outputs.swift_version }}
version: ${{ steps.get_swift_version.outputs.swift_version }}
- name: Verify swift version
run: |
swift --version
- name: Build
run: |
swift build -v
- name: Run tests
run: |
swift test -v