Files
auth_service_swift/.gitea/workflows/actions.yaml
T
wt 6efaea0d4b
Swift Build and Test / build_and_test (push) Successful in 17m42s
Update actions.yaml
2026-06-11 16:07:04 +07:00

33 lines
839 B
YAML

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:6.3.2
steps:
- name: Install Node.js
run: |
apt-get update
apt-get install -y curl ca-certificates
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
apt-get install -y nodejs
# Step 1: Check out the source code
- name: Check out repository 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