Skip to content

Commit

Permalink
Upgrade deprectated github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mstilkerich committed Dec 27, 2022
1 parent ecc5b84 commit 32cc1df
Showing 1 changed file with 25 additions and 33 deletions.
58 changes: 25 additions & 33 deletions .github/workflows/ci.yml
Expand Up @@ -13,7 +13,7 @@ jobs:

steps:
- name: Checkout carddavclient
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up CI environment
uses: ./.github/actions/setup
with:
Expand All @@ -38,20 +38,19 @@ jobs:

steps:
- name: Checkout carddavclient
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up CI environment
uses: ./.github/actions/setup
with:
php-version: '8.0'
- name: Run unit tests
run: make unittests
- name: Upload unit test coverage reports to codecov.io
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
file: testreports/unit/clover.xml
files: testreports/unit/clover.xml
flags: unittests
name: Carddavclient unit test coverage
fail_ci_if_error: false

interop-nextcloud:
strategy:
Expand All @@ -75,7 +74,7 @@ jobs:

steps:
- name: Checkout carddavclient
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up CI environment
uses: ./.github/actions/setup
with:
Expand All @@ -88,12 +87,11 @@ jobs:
- name: Run interop tests
run: make tests-interop
- name: Upload interop-nextcloud test coverage reports to codecov.io
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
file: testreports/interop/clover.xml
files: testreports/interop/clover.xml
flags: interop
name: Carddavclient nextcloud interoperability test coverage
fail_ci_if_error: false

interop-owncloud:
strategy:
Expand Down Expand Up @@ -122,20 +120,19 @@ jobs:

steps:
- name: Checkout carddavclient
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up CI environment
uses: ./.github/actions/setup
with:
php-version: '8.0'
- name: Run interop tests
run: make tests-interop
- name: Upload interop-owncloud test coverage reports to codecov.io
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
file: testreports/interop/clover.xml
files: testreports/interop/clover.xml
flags: interop
name: Carddavclient owncloud interoperability test coverage
fail_ci_if_error: false

interop-radicale:
runs-on: ubuntu-20.04
Expand All @@ -146,7 +143,7 @@ jobs:

steps:
- name: Checkout carddavclient
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Start Radicale
run: |
mkdir -p ${{ github.workspace }}/.github/configs/radicale/data
Expand All @@ -162,12 +159,11 @@ jobs:
- name: Run interop tests
run: make tests-interop
- name: Upload interop-radicale test coverage reports to codecov.io
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
file: testreports/interop/clover.xml
files: testreports/interop/clover.xml
flags: interop
name: Carddavclient radicale interoperability test coverage
fail_ci_if_error: false

interop-davical:
runs-on: ubuntu-20.04
Expand Down Expand Up @@ -211,7 +207,7 @@ jobs:

steps:
- name: Checkout carddavclient
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up CI environment
uses: ./.github/actions/setup
with:
Expand All @@ -222,12 +218,11 @@ jobs:
- name: Run interop tests
run: make tests-interop
- name: Upload interop-davical test coverage reports to codecov.io
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
file: testreports/interop/clover.xml
files: testreports/interop/clover.xml
flags: interop
name: Carddavclient Davical interoperability test coverage
fail_ci_if_error: false

interop-icloud:
runs-on: ubuntu-20.04
Expand All @@ -238,7 +233,7 @@ jobs:

steps:
- name: Checkout carddavclient
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up CI environment
uses: ./.github/actions/setup
with:
Expand All @@ -250,12 +245,11 @@ jobs:
ICLOUD_URL_ABOOK0: ${{ secrets.ICLOUD_URL_ABOOK0 }}
run: make tests-interop
- name: Upload interop-iCloud test coverage reports to codecov.io
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
file: testreports/interop/clover.xml
files: testreports/interop/clover.xml
flags: interop
name: Carddavclient iCloud interoperability test coverage
fail_ci_if_error: false

interop-google:
runs-on: ubuntu-20.04
Expand All @@ -266,7 +260,7 @@ jobs:

steps:
- name: Checkout carddavclient
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up CI environment
uses: ./.github/actions/setup
with:
Expand All @@ -278,12 +272,11 @@ jobs:
GOOGLE_URL_ABOOK0: ${{ secrets.GOOGLE_URL_ABOOK0 }}
run: make tests-interop
- name: Upload interop-Google test coverage reports to codecov.io
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
file: testreports/interop/clover.xml
files: testreports/interop/clover.xml
flags: interop
name: Carddavclient Google interoperability test coverage
fail_ci_if_error: false

interop-baikal:
strategy:
Expand All @@ -306,7 +299,7 @@ jobs:

steps:
- name: Checkout carddavclient
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up CI environment
uses: ./.github/actions/setup
with:
Expand All @@ -317,9 +310,8 @@ jobs:
- name: Run interop tests
run: make tests-interop
- name: Upload interop-baikal test coverage reports to codecov.io
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
file: testreports/interop/clover.xml
files: testreports/interop/clover.xml
flags: interop
name: Carddavclient Baikal interoperability test coverage
fail_ci_if_error: false

0 comments on commit 32cc1df

Please sign in to comment.