mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-15 05:52:19 +00:00
Meta: Record desired swift toolchain version in .swift-version
This makes it easier to ensure everyone is using the same version of Swift when building the project, especially for CI environments. `swiftly install` will automatically read this file and install the specified version if it is not already installed. It also tells swiftly what version to use for the project, independent of the global default version.
This commit is contained in:
parent
3b9756d9b1
commit
0b7a6ef4c9
Notes:
github-actions[bot]
2025-06-11 17:56:16 +00:00
Author: https://github.com/ADKaster
Commit: 0b7a6ef4c9
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5047
3 changed files with 3 additions and 2 deletions
3
.github/actions/setup/action.yml
vendored
3
.github/actions/setup/action.yml
vendored
|
@ -107,7 +107,8 @@ runs:
|
|||
|
||||
echo "swiftly version: $(swiftly --version)" >&2
|
||||
|
||||
swiftly install --use main-snapshot-2025-05-26
|
||||
# installs version listed in .swift-version
|
||||
swiftly install
|
||||
swiftly list
|
||||
|
||||
- name: 'Install Dependencies'
|
||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -27,7 +27,6 @@ output/
|
|||
.vim/
|
||||
.exrc
|
||||
.helix/
|
||||
.swift-version
|
||||
|
||||
# Environments
|
||||
.venv/
|
||||
|
|
1
.swift-version
Normal file
1
.swift-version
Normal file
|
@ -0,0 +1 @@
|
|||
main-snapshot-2025-06-03
|
Loading…
Add table
Add a link
Reference in a new issue