mirror of
https://github.com/swift-server/swift-openapi-lambda.git
synced 2026-06-02 07:27:32 +00:00
760814fbc4
Updated the Swift workflow to run on Ubuntu instead of macOS and simplified the trigger conditions. *Issue #, if available:* *Description of changes:* By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice. --------- Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
23 lines
342 B
YAML
23 lines
342 B
YAML
# Simple test to obtain a green badge when merging to main branch
|
|
|
|
name: Swift Simple Check
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Build
|
|
run: swift build -v
|
|
- name: Run tests
|
|
run: swift test -v
|