Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/actions/be/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: be/init
runs:
using: composite
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
submodules: true

Expand Down Expand Up @@ -31,7 +31,7 @@ runs:
working-directory: be
shell: bash
- id: cache-restore
uses: actions/cache/restore@v5
uses: actions/cache/restore@v6
with:
path: ${{ steps.get-composer-cache-dir.outputs.path }}
key: ${{ runner.os }}-composer-${{ hashFiles('be/composer.lock') }}
Expand All @@ -51,7 +51,7 @@ runs:

# https://github.com/actions/runner/issues/1478
# https://github.com/actions/setup-node/issues/410#issuecomment-1939482965
- uses: actions/cache/save@v5
- uses: actions/cache/save@v6
if: ${{ steps.cache-restore.outputs.cache-hit != 'true' }}
with:
path: ${{ steps.get-composer-cache-dir.outputs.path }}
Expand Down
8 changes: 4 additions & 4 deletions .github/actions/c#/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ description: c#/init
runs:
using: composite
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
submodules: true
- uses: actions/setup-dotnet@v5
- uses: actions/setup-dotnet@v6
with: # https://github.com/actions/setup-dotnet/tree/v4
global-json-file: c#/global.json
# cache: true
Expand All @@ -16,7 +16,7 @@ runs:
# to allow saving cache even jobs failed

- id: cache-restore
uses: actions/cache/restore@v5
uses: actions/cache/restore@v6
with:
path: ${{ github.workspace }}/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('c#/*/packages.lock.json') }}
Expand All @@ -29,7 +29,7 @@ runs:

# https://github.com/actions/runner/issues/1478
# https://github.com/actions/setup-node/issues/410#issuecomment-1939482965
- uses: actions/cache/save@v5
- uses: actions/cache/save@v6
if: ${{ steps.cache-restore.outputs.cache-hit != 'true' }}
with:
path: ${{ github.workspace }}/.nuget/packages
Expand Down
8 changes: 4 additions & 4 deletions .github/actions/fe/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ description: fe/init
runs:
using: composite
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
submodules: true

- uses: actions/setup-node@v6
- uses: actions/setup-node@v7
with: # https://github.com/actions/setup-node/tree/v4
node-version: latest
# cache: yarn
Expand All @@ -28,7 +28,7 @@ runs:
working-directory: fe
shell: bash
- id: cache-restore
uses: actions/cache/restore@v5
uses: actions/cache/restore@v6
with:
path: ${{ steps.get-yarn-cache-dir.outputs.path }}
key: ${{ runner.os }}-yarn-${{ hashFiles('fe/yarn.lock') }}
Expand All @@ -43,7 +43,7 @@ runs:

# https://github.com/actions/runner/issues/1478
# https://github.com/actions/setup-node/issues/410#issuecomment-1939482965
- uses: actions/cache/save@v5
- uses: actions/cache/save@v6
if: ${{ steps.cache-restore.outputs.cache-hit != 'true' }}
with:
path: ${{ steps.get-yarn-cache-dir.outputs.path }}
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/be_base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
phpunit-infection:
runs-on: ${{ inputs.runs-on }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- uses: ./.github/actions/be
- uses: shivammathur/setup-php@v2
with:
Expand All @@ -31,7 +31,7 @@ jobs:
--log-junit=coverage/junit.xml
# https://infection.github.io/guide/command-line-options.html#coverage
- if: always() && (steps.phpunit.outcome == 'success' || steps.phpunit.outcome == 'failure')
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v7
with:
name: coverage-${{ inputs.runs-on }}
path: be/coverage/clover.xml
Expand All @@ -42,7 +42,7 @@ jobs:
phan:
runs-on: ${{ inputs.runs-on }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- uses: ./.github/actions/be
- if: runner.os == 'Windows' || runner.os == 'macOS'
uses: shivammathur/setup-php@v2
Expand All @@ -60,7 +60,7 @@ jobs:
phpstan:
runs-on: ${{ inputs.runs-on }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- uses: ./.github/actions/be
- run: >
./vendor/bin/phpstan analyze --error-format=checkstyle --no-interaction
Expand All @@ -70,7 +70,7 @@ jobs:
psalm:
runs-on: ${{ inputs.runs-on }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- uses: ./.github/actions/be
- run: >
./vendor/bin/psalm --output-format=checkstyle
Expand All @@ -80,7 +80,7 @@ jobs:
phpcs:
runs-on: ${{ inputs.runs-on }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- uses: ./.github/actions/be
- id: run
run: ./vendor/bin/phpcs --report-full --report-checkstyle=./phpcs-report.xml .
Expand All @@ -90,7 +90,7 @@ jobs:
php-cs-fixer:
runs-on: ${{ inputs.runs-on }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- uses: ./.github/actions/be
- run: >
./vendor/bin/php-cs-fixer fix --dry-run --format=checkstyle --no-interaction --show-progress dots
Expand All @@ -100,7 +100,7 @@ jobs:
phpmd:
runs-on: ${{ inputs.runs-on }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- uses: ./.github/actions/be
- run: >
./vendor/bin/phpmd . checkstyle phpmd.xml
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/c#_base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
env:
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- uses: ./.github/actions/c#
- run: dotnet build --no-restore -c Release ${{ matrix.project }}

Expand All @@ -31,11 +31,11 @@ jobs:
env:
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- uses: ./.github/actions/c#

- id: cache-restore
uses: actions/cache/restore@v5
uses: actions/cache/restore@v6
with:
path: |
${{ github.workspace }}/.resharper
Expand All @@ -52,7 +52,7 @@ jobs:
cachesHome: ${{ github.workspace }}/.resharper

# https://github.com/actions/runner/issues/1478
- uses: actions/cache/save@v5
- uses: actions/cache/save@v6
if: always() && steps.cache-restore.outputs.cache-hit != 'true'
with:
path: |
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/fe_base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,25 @@ jobs:
tsc:
runs-on: ${{ inputs.runs-on }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- uses: ./.github/actions/fe
- run: yarn run vue-tsc -p .nuxt/tsconfig.app.json

eslint:
runs-on: ${{ inputs.runs-on }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- uses: ./.github/actions/fe
- run: yarn run eslint

stylelint:
runs-on: ${{ inputs.runs-on }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- uses: ./.github/actions/fe

- id: cache-restore
uses: actions/cache/restore@v5
uses: actions/cache/restore@v6
with:
path: ${{ github.workspace }}/fe/.stylelintcache
key: ${{ runner.os }}-fe-stylelintcache
Expand All @@ -42,7 +42,7 @@ jobs:
- if: always() && (steps.firstStylelint.outcome == 'success' || steps.firstStylelint.outcome == 'failure')
run: yarn run stylelint --cache --custom-formatter stylelint-actions-formatters '**/*.css'

- uses: actions/cache/save@v5
- uses: actions/cache/save@v6
if: always() && steps.cache-restore.outputs.cache-hit != 'true'
with:
path: ${{ github.workspace }}/fe/.stylelintcache
Expand All @@ -51,11 +51,11 @@ jobs:
type-coverage:
runs-on: ${{ inputs.runs-on }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- uses: ./.github/actions/fe

- id: cache-restore
uses: actions/cache/restore@v5
uses: actions/cache/restore@v6
with:
path: ${{ github.workspace }}/fe/.type-coverage
key: ${{ runner.os }}-fe-type-coverage
Expand All @@ -64,7 +64,7 @@ jobs:
# https://github.com/plantain-00/type-coverage/issues/145
- run: yarn run type-coverage --show-relative-path --cache --detail --strict --at-least 95

- uses: actions/cache/save@v5
- uses: actions/cache/save@v6
if: always() && steps.cache-restore.outputs.cache-hit != 'true'
with:
path: ${{ github.workspace }}/fe/.type-coverage
Expand Down
Loading