Skip to content

Commit

Permalink
update pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
mimmi20 committed Aug 18, 2023
1 parent 8d23e10 commit deab4fb
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 27 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cleanup-caches.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: cleanup caches by a branch
name: "Cleanup caches by a branch"
on:
pull_request:
types:
Expand All @@ -7,7 +7,7 @@ on:

jobs:
cleanup:
runs-on: ubuntu-latest
runs-on: "ubuntu-20.04"
steps:
- name: "Checkout"
uses: "actions/checkout@v3"
Expand Down Expand Up @@ -36,4 +36,4 @@ jobs:
done
echo "Done"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
20 changes: 10 additions & 10 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ on:

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
name: "Analyze"
runs-on: "ubuntu-22.04"
permissions:
actions: read
contents: read
Expand All @@ -35,7 +35,7 @@ jobs:
fail-fast: false
matrix:
language:
- 'javascript'
- "javascript"
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Use only 'java' to analyze code written in Java, Kotlin or both
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
Expand All @@ -51,10 +51,10 @@ jobs:
persist-credentials: false

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
- name: "Initialize CodeQL"
uses: "github/codeql-action/init@v2"
with:
languages: ${{ matrix.language }}
languages: "${{ matrix.language }}"
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
Expand All @@ -64,8 +64,8 @@ jobs:

# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: "Autobuild"
uses: "github/codeql-action/autobuild@v2"

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
Expand All @@ -77,7 +77,7 @@ jobs:
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
- name: "Perform CodeQL Analysis"
uses: "github/codeql-action/analyze@v2"
with:
category: "/language:${{matrix.language}}"
4 changes: 2 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ jobs:
composer-options: "--optimize-autoloader --prefer-dist --prefer-stable -v"

- name: "Run unit tests with phpunit/phpunit"
run: "vendor/bin/phpunit -c phpunit.xml --no-coverage"
run: "vendor/bin/phpunit -c phpunit.xml --no-coverage --display-warnings"

code-coverage:
name: "Code Coverage with PHPUnit"
Expand Down Expand Up @@ -192,7 +192,7 @@ jobs:
run: "mkdir -p .build/coverage"

- name: "Collect code coverage with Xdebug and phpunit/phpunit"
run: "vendor/bin/phpunit -c phpunit.xml --coverage-clover=.build/coverage/clover.xml --coverage-text --coverage-xml=.build/coverage/coverage-xml --log-junit=.build/coverage/phpunit.junit.xml"
run: "vendor/bin/phpunit -c phpunit.xml --coverage-clover=.build/coverage/clover.xml --coverage-text --coverage-xml=.build/coverage/coverage-xml --log-junit=.build/coverage/phpunit.junit.xml --display-warnings"

- name: "Upload coverage to Codecov"
uses: "codecov/codecov-action@v3.1.4"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
permissions:
issues: write

runs-on: ubuntu-latest
runs-on: "ubuntu-22.04"

steps:
- name: "Checkout"
Expand All @@ -33,7 +33,7 @@ jobs:

- uses: "micnncim/action-label-syncer@v1.3.0"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
GITHUB_REPOSITORY: "${{ github.repository }}"
with:
manifest: .github/labels.yml
manifest: ".github/labels.yml"
6 changes: 3 additions & 3 deletions .github/workflows/lock-closed-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:

jobs:
lock:
runs-on: ubuntu-latest
runs-on: "ubuntu-22.04"
steps:
- uses: Dunning-Kruger/lock-issues@v1.1
- uses: "Dunning-Kruger/lock-issues@v1.1"
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token: "${{ secrets.GITHUB_TOKEN }}"
6 changes: 3 additions & 3 deletions .github/workflows/reactions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ permissions:

jobs:
action:
runs-on: ubuntu-latest
runs-on: "ubuntu-22.04"
steps:
- uses: dessant/reaction-comments@v3
- uses: "dessant/reaction-comments@v3"
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
github-token: "${{ secrets.GITHUB_TOKEN }}"
issue-comment: >
:wave: @{comment-author}, would you like to leave
a reaction instead?
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:
# otherwise, read permission is required at least
pull-requests: write

runs-on: "ubuntu-latest"
runs-on: "ubuntu-22.04"

steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- name: "Release Drafter"
uses: "release-drafter/release-drafter@v5.24.0"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit deab4fb

Please sign in to comment.