fix badge (#15)

* fix badge

* Add semantic version label check

* disable yaml linter
This commit is contained in:
Sébastien Stormacq
2024-11-26 14:34:06 +01:00
committed by GitHub
parent e5573fd0de
commit 97183bc4d5
2 changed files with 14 additions and 1 deletions
+13
View File
@@ -20,6 +20,7 @@ jobs:
api_breakage_check_container_image: "swift:6.0-noble"
docs_check_container_image: "swift:6.0-noble"
format_check_container_image: "swiftlang/swift:nightly-6.0-jammy"
yamllint_check_enabled: false
unit-tests:
name: Unit tests
@@ -37,3 +38,15 @@ jobs:
swift-6-language-mode:
name: Swift 6 Language Mode
uses: apple/swift-nio/.github/workflows/swift_6_language_mode.yml@main
semver-label-check:
name: Semantic Version label check
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Check for Semantic Version label
uses: apple/swift-nio/.github/actions/pull_request_semver_label_checker@main
+1 -1
View File
@@ -1,4 +1,4 @@
[![Build & Test on GitHub](https://github.com/swift-server/swift-openapi-lambda/actions/workflows/pull_request.yaml/badge.svg)](https://github.com/swift-server/swift-openapi-lambda/actions/workflows//pull_request.yaml)
[![Build & Test on GitHub](https://github.com/swift-server/swift-openapi-lambda/actions/workflows/pull_request.yml/badge.svg)](https://github.com/swift-server/swift-openapi-lambda/actions/workflows//pull_request.yml)
![language](https://img.shields.io/badge/swift-5.9-blue)