chore(CI): Update checkout and cache to v3 (#16847)

This commit is contained in:
Kitzunu 2023-07-29 16:31:07 +02:00 committed by GitHub
parent d341492081
commit 0ebb1969cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 16 additions and 16 deletions

View file

@ -23,7 +23,7 @@ jobs:
COMPILER: ${{ matrix.compiler }} COMPILER: ${{ matrix.compiler }}
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Cache - name: Cache
uses: actions/cache@v3 uses: actions/cache@v3
env: env:

View file

@ -6,6 +6,6 @@ jobs:
check-pending-sql: check-pending-sql:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Check pending SQL - name: Check pending SQL
run: source ./apps/ci/ci-pending.sh run: source ./apps/ci/ci-pending.sh

View file

@ -11,6 +11,6 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
name: check codestyle name: check codestyle
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Check core codestyle - name: Check core codestyle
run: source ./apps/ci/ci-codestyle.sh run: source ./apps/ci/ci-codestyle.sh

View file

@ -23,9 +23,9 @@ jobs:
COMPILER: ${{ matrix.compiler }} COMPILER: ${{ matrix.compiler }}
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Cache - name: Cache
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: var/ccache path: var/ccache
key: ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ github.ref }}:${{ github.sha }} key: ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ github.ref }}:${{ github.sha }}

View file

@ -40,9 +40,9 @@ jobs:
|| github.event.label.name == 'run-build') || github.event.label.name == 'run-build')
) )
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Cache - name: Cache
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: var/ccache path: var/ccache
key: ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ github.ref }}:${{ github.sha }} key: ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ github.ref }}:${{ github.sha }}

View file

@ -34,12 +34,12 @@ jobs:
|| github.event.label.name == 'run-build') || github.event.label.name == 'run-build')
) )
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Checkout modules - name: Checkout modules
run: ./apps/ci/ci-install-modules.sh run: ./apps/ci/ci-install-modules.sh
if: matrix.modules == 'with' if: matrix.modules == 'with'
- name: Cache - name: Cache
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: var/ccache path: var/ccache
key: ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ matrix.modules }}-modules:${{ github.ref }}:${{ github.sha }} key: ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ matrix.modules }}-modules:${{ github.ref }}:${{ github.sha }}

View file

@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
name: cpp check name: cpp check
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: cpp check - name: cpp check
run: | run: |
sudo apt update -y sudo apt update -y

View file

@ -124,7 +124,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Cache - name: Cache
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: var/docker/ccache path: var/docker/ccache
key: ccache:${{ matrix.os }}:clang:without-modules:${{ github.ref }}:${{ github.sha }} key: ccache:${{ matrix.os }}:clang:without-modules:${{ github.ref }}:${{ github.sha }}

View file

@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
persist-credentials: false persist-credentials: false
- name: Extract branch name - name: Extract branch name

View file

@ -25,9 +25,9 @@ jobs:
&& !github.event.pull_request.draft && !github.event.pull_request.draft
&& (github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'run-build') || github.event.label.name == 'run-build') && (github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'run-build') || github.event.label.name == 'run-build')
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Cache - name: Cache
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/Library/Caches/ccache path: ~/Library/Caches/ccache
key: ccache:${{ matrix.os }}:${{ github.ref }}:${{ github.sha }} key: ccache:${{ matrix.os }}:${{ github.ref }}:${{ github.sha }}

View file

@ -23,7 +23,7 @@ jobs:
COMPILER: ${{ matrix.compiler }} COMPILER: ${{ matrix.compiler }}
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Cache - name: Cache
uses: actions/cache@v3 uses: actions/cache@v3
env: env:

View file

@ -25,7 +25,7 @@ jobs:
&& !github.event.pull_request.draft && !github.event.pull_request.draft
&& (github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'run-build') || github.event.label.name == 'run-build') && (github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'run-build') || github.event.label.name == 'run-build')
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1.2.9 uses: hendrikmuhs/ccache-action@v1.2.9
- name: Configure OS - name: Configure OS