mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Updated some github actions workflows and added an workflow to automatically update actions
This commit is contained in:
parent
f86d35f8d1
commit
ac402a6697
3 changed files with 25 additions and 2 deletions
23
.github/workflows/actions_updater.yaml
vendored
Normal file
23
.github/workflows/actions_updater.yaml
vendored
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
name: GitHub Actions Version Updater
|
||||||
|
|
||||||
|
# Controls when the action will run.
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
# Automatically run on every Sunday
|
||||||
|
- cron: '0 0 * * 0'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
# [Required] Access token with `workflow` scope.
|
||||||
|
token: ${{ secrets.WORKFLOW_SECRET }}
|
||||||
|
|
||||||
|
- name: Run GitHub Actions Version Updater
|
||||||
|
uses: saadmk11/github-actions-version-updater@v0.7.4
|
||||||
|
with:
|
||||||
|
# [Required] Access token with `workflow` scope.
|
||||||
|
token: ${{ secrets.WORKFLOW_SECRET }}
|
2
.github/workflows/static_analysis.yml
vendored
2
.github/workflows/static_analysis.yml
vendored
|
@ -43,7 +43,7 @@ jobs:
|
||||||
run: ./bin/console lint:xliff translations
|
run: ./bin/console lint:xliff translations
|
||||||
|
|
||||||
- name: Check dependencies for security
|
- name: Check dependencies for security
|
||||||
uses: symfonycorp/security-checker-action@v3
|
uses: symfonycorp/security-checker-action@v4
|
||||||
|
|
||||||
- name: Check doctrine mapping
|
- name: Check doctrine mapping
|
||||||
run: ./bin/console doctrine:schema:validate --skip-sync -vvv --no-interaction
|
run: ./bin/console doctrine:schema:validate --skip-sync -vvv --no-interaction
|
||||||
|
|
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
|
@ -63,7 +63,7 @@ jobs:
|
||||||
id: composer-cache
|
id: composer-cache
|
||||||
run: |
|
run: |
|
||||||
echo "::set-output name=dir::$(composer config cache-files-dir)"
|
echo "::set-output name=dir::$(composer config cache-files-dir)"
|
||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ${{ steps.composer-cache.outputs.dir }}
|
path: ${{ steps.composer-cache.outputs.dir }}
|
||||||
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
|
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue