mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-15 16:07:55 +03:00
Update CI pipeline
This commit is contained in:
@@ -2,7 +2,21 @@
|
||||
|
||||
name: "build"
|
||||
|
||||
on: ["pull_request", "push"]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "*.x"
|
||||
tags:
|
||||
- "*"
|
||||
pull_request:
|
||||
branches:
|
||||
- "*.x"
|
||||
|
||||
# Cancels all previous workflow runs for the same branch that have not yet completed.
|
||||
concurrency:
|
||||
# The concurrency group contains the workflow name and the branch name.
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
COMPOSER_ROOT_VERSION: "1.99.99"
|
||||
@@ -54,6 +68,7 @@ jobs:
|
||||
|
||||
benchmark:
|
||||
name: "Benchmark"
|
||||
needs: ["coding-standards", "static-analysis"]
|
||||
runs-on: "ubuntu-latest"
|
||||
|
||||
strategy:
|
||||
@@ -88,6 +103,7 @@ jobs:
|
||||
|
||||
code-coverage:
|
||||
name: "Code coverage"
|
||||
needs: ["coding-standards", "static-analysis"]
|
||||
runs-on: "ubuntu-latest"
|
||||
steps:
|
||||
- name: "Checkout repository"
|
||||
@@ -119,6 +135,7 @@ jobs:
|
||||
|
||||
unit-tests:
|
||||
name: "Unit Tests"
|
||||
needs: ["code-coverage"]
|
||||
runs-on: ${{ matrix.operating-system }}
|
||||
|
||||
strategy:
|
||||
|
||||
Reference in New Issue
Block a user