Bump GitHub actions versions and fix deprecated syntax for variables
Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
parent
24e1086682
commit
28d8fdc584
2
.github/workflows/lint-and-analyse-php.yml
vendored
2
.github/workflows/lint-and-analyse-php.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
||||
|
||||
- name: Get Yarn cache directory path
|
||||
id: yarn-cache-dir-path
|
||||
run: echo "::set-output name=dir::$(yarn cache dir)"
|
||||
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Cache Yarn dependencies
|
||||
uses: actions/cache@v3
|
||||
|
||||
2
.github/workflows/other-tools.yml
vendored
2
.github/workflows/other-tools.yml
vendored
@ -60,7 +60,7 @@ jobs:
|
||||
|
||||
- name: Get Yarn cache directory path
|
||||
id: yarn-cache-dir-path
|
||||
run: echo "::set-output name=dir::$(yarn cache dir)"
|
||||
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Cache Yarn dependencies
|
||||
uses: actions/cache@v3
|
||||
|
||||
4
.github/workflows/test-selenium.yml
vendored
4
.github/workflows/test-selenium.yml
vendored
@ -88,7 +88,7 @@ jobs:
|
||||
|
||||
- name: Get Yarn cache directory path
|
||||
id: yarn-cache-dir-path
|
||||
run: echo "::set-output name=dir::$(yarn cache dir)"
|
||||
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Cache Yarn dependencies
|
||||
uses: actions/cache@v3
|
||||
@ -111,7 +111,7 @@ jobs:
|
||||
SKIP_STANDALONE: 1
|
||||
run: |
|
||||
./test/start-local-server
|
||||
echo ::set-output name=SELENIUM_TEMPDIR::"$(cat /tmp/last_temp_dir_phpMyAdminTests)"
|
||||
echo "SELENIUM_TEMPDIR=$(cat /tmp/last_temp_dir_phpMyAdminTests)" >> $GITHUB_OUTPUT
|
||||
id: start-local-server
|
||||
|
||||
- name: Run Selenium tests
|
||||
|
||||
6
.github/workflows/tests.yml
vendored
6
.github/workflows/tests.yml
vendored
@ -109,7 +109,7 @@ jobs:
|
||||
run: composer run phpunit -- ${{ matrix.phpunit-options }}
|
||||
|
||||
- name: Send coverage
|
||||
uses: codecov/codecov-action@v1
|
||||
uses: codecov/codecov-action@v3
|
||||
with:
|
||||
flags: unit-${{ matrix.php-version }}-${{ matrix.os }}
|
||||
name: phpunit-${{ matrix.php-version }}-${{ matrix.os }}
|
||||
@ -168,7 +168,7 @@ jobs:
|
||||
run: composer run phpunit -- --testsuite unit
|
||||
|
||||
- name: Send coverage
|
||||
uses: codecov/codecov-action@v1
|
||||
uses: codecov/codecov-action@v3
|
||||
with:
|
||||
flags: ${{ matrix.extension }}-extension
|
||||
name: php-7.2-${{ matrix.extension }}-enabled
|
||||
@ -204,7 +204,7 @@ jobs:
|
||||
|
||||
- name: Get Yarn cache directory path
|
||||
id: yarn-cache-dir-path
|
||||
run: echo "::set-output name=dir::$(yarn cache dir)"
|
||||
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Cache Yarn dependencies
|
||||
uses: actions/cache@v3
|
||||
|
||||
Loading…
Reference in New Issue
Block a user