Create actions.yaml
Swift Build and Test / build_and_test (push) Failing after 2m35s

This commit is contained in:
wt committed 2026-06-10 15:37:36 +07:00
1 parent 56d1988b17
commit 28ba211cff
1 file changed
+25
+25
View File
@@ -0,0 +1,25 @@
name: Swift Build and Test
run-name: ${{ gitea.actor }}
on: [push]
jobs:
build_and_test:
# Use the default Linux label provided by your act_runner
runs-on: ubuntu-latest
# Force the job to run inside an official Swift Docker container
container:
image: swift:latest
steps:
# Step 1: Check out the source code
- name: Checkout Code
uses: actions/checkout@v4
# Step 2: Build the package or project
- name: Build Swift Project
run: swift build -v
# Step 3: Run the test suite
- name: Run Tests
run: swift test -v