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
12 changed files with 16 additions and 16 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -34,12 +34,12 @@ jobs:
|| github.event.label.name == 'run-build')
)
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Checkout modules
run: ./apps/ci/ci-install-modules.sh
if: matrix.modules == 'with'
- name: Cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: var/ccache
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
name: cpp check
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: cpp check
run: |
sudo apt update -y

View File

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

View File

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

View File

@@ -25,9 +25,9 @@ jobs:
&& !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')
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/Library/Caches/ccache
key: ccache:${{ matrix.os }}:${{ github.ref }}:${{ github.sha }}

View File

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

View File

@@ -25,7 +25,7 @@ jobs:
&& !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')
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2.9
- name: Configure OS