mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-25 02:10:18 -06:00
Fix usage of deprecated GitHub actions practices
This commit is contained in:
parent
a7f6b60cba
commit
b339cf2429
2
.github/actions/ci-setup/action.yml
vendored
2
.github/actions/ci-setup/action.yml
vendored
@ -28,7 +28,7 @@ runs:
|
|||||||
extensions: ${{ inputs.php-extensions }}
|
extensions: ${{ inputs.php-extensions }}
|
||||||
key: ${{ inputs.extensions-cache-key }}
|
key: ${{ inputs.extensions-cache-key }}
|
||||||
- name: Cache extensions
|
- name: Cache extensions
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ${{ steps.extcache.outputs.dir }}
|
path: ${{ steps.extcache.outputs.dir }}
|
||||||
key: ${{ steps.extcache.outputs.key }}
|
key: ${{ steps.extcache.outputs.key }}
|
||||||
|
6
.github/workflows/ci-mutation-tests.yml
vendored
6
.github/workflows/ci-mutation-tests.yml
vendored
@ -27,14 +27,14 @@ jobs:
|
|||||||
path: build
|
path: build
|
||||||
- name: Resolve infection args
|
- name: Resolve infection args
|
||||||
id: infection_args
|
id: infection_args
|
||||||
run: echo "::set-output name=args::--logger-github=false"
|
run: echo "args=--logger-github=false" >> $GITHUB_OUTPUT
|
||||||
# TODO Try to filter mutation tests to improve execution times. Investigate why --git-diff-lines --git-diff-base=develop does not work
|
# TODO Try to filter mutation tests to improve execution times. Investigate why --git-diff-lines --git-diff-base=develop does not work
|
||||||
# run: |
|
# run: |
|
||||||
# BRANCH="${GITHUB_REF#refs/heads/}" |
|
# BRANCH="${GITHUB_REF#refs/heads/}" |
|
||||||
# if [[ $BRANCH == 'main' || $BRANCH == 'develop' ]]; then
|
# if [[ $BRANCH == 'main' || $BRANCH == 'develop' ]]; then
|
||||||
# echo "::set-output name=args::--logger-github=false"
|
# echo "args=--logger-github=false" >> $GITHUB_OUTPUT
|
||||||
# else
|
# else
|
||||||
# echo "::set-output name=args::--logger-github=false --git-diff-lines --git-diff-base=develop"
|
# echo "args=--logger-github=false --git-diff-lines --git-diff-base=develop" >> $GITHUB_OUTPUT
|
||||||
# fi;
|
# fi;
|
||||||
shell: bash
|
shell: bash
|
||||||
- if: ${{ inputs.test-group == 'unit' }}
|
- if: ${{ inputs.test-group == 'unit' }}
|
||||||
|
2
.github/workflows/publish-swagger-spec.yml
vendored
2
.github/workflows/publish-swagger-spec.yml
vendored
@ -15,7 +15,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Determine version
|
- name: Determine version
|
||||||
id: determine_version
|
id: determine_version
|
||||||
run: echo "::set-output name=version::${GITHUB_REF#refs/tags/}"
|
run: echo "version=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
|
||||||
shell: bash
|
shell: bash
|
||||||
- uses: './.github/actions/ci-setup'
|
- uses: './.github/actions/ci-setup'
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user