From 28ba211cffe497113a2e059c640563529a91e3e4 Mon Sep 17 00:00:00 2001 From: TolaMironcenko Date: Wed, 10 Jun 2026 15:37:36 +0700 Subject: [PATCH] Create actions.yaml --- .gitea/workflows/actions.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .gitea/workflows/actions.yaml diff --git a/.gitea/workflows/actions.yaml b/.gitea/workflows/actions.yaml new file mode 100644 index 0000000..df2bb84 --- /dev/null +++ b/.gitea/workflows/actions.yaml @@ -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