Skip to content

Depend on Cache 2.1.3 instead of a revision pin (#154) #373

Depend on Cache 2.1.3 instead of a revision pin (#154)

Depend on Cache 2.1.3 instead of a revision pin (#154) #373

Workflow file for this run

name: Windows
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
# ① Install Swift for Windows
- name: Set up Swift 6.1
uses: compnerd/gha-setup-swift@main
with:
branch: swift-6.1-release # release branch
tag: 6.1-RELEASE # exact toolchain tag
# ② Build & test
- run: swift --version # sanity-check
- name: Build
run: swift build
env:
APPSTATE_STRICT: "1"
- name: Test
run: swift test
env:
APPSTATE_STRICT: "1"