Skip to content

Commit

Permalink
Upgrade deprecated github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mstilkerich committed Dec 27, 2022
1 parent 1edbdba commit 6b46005
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup/action.yml
Expand Up @@ -20,7 +20,7 @@ runs:
extensions: gd, xdebug, curl
coverage: xdebug
- name: Checkout roundcubemail
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: roundcubemail
repository: mstilkerich/roundcubemail
Expand Down
30 changes: 13 additions & 17 deletions .github/workflows/ci.yml
Expand Up @@ -18,7 +18,7 @@ jobs:

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

steps:
- name: Checkout rcmcarddav
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up CI environment
uses: ./.github/actions/setup
with:
php-version: ${{ matrix.php-version }}
- 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: RCMCardDAV unit test coverage
fail_ci_if_error: false

dbinterop-sqlite3:
runs-on: ubuntu-20.04
Expand All @@ -68,18 +67,17 @@ jobs:

steps:
- name: Checkout rcmcarddav
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up CI environment
uses: ./.github/actions/setup
- name: Database interoperability tests for SQLite3
run: make tests-sqlite3
- name: Upload DB interoperability test coverage reports to codecov.io
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
file: testreports/dbinterop-sqlite3/clover.xml
files: testreports/dbinterop-sqlite3/clover.xml
flags: dbinterop-sqlite3
name: RCMCardDAV SQLite3 database interoperability test coverage
fail_ci_if_error: false

dbinterop-mysql:
strategy:
Expand Down Expand Up @@ -121,7 +119,7 @@ jobs:

steps:
- name: Checkout rcmcarddav
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up CI environment
uses: ./.github/actions/setup
- name: Set MySQL settings
Expand All @@ -130,12 +128,11 @@ jobs:
- name: Database interoperability tests for MySQL
run: make tests-mysql
- name: Upload DB interoperability test coverage reports to codecov.io
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
file: testreports/dbinterop-mysql/clover.xml
files: testreports/dbinterop-mysql/clover.xml
flags: dbinterop-mysql
name: RCMCardDAV MySQL database interoperability test coverage
fail_ci_if_error: false

dbinterop-postgres:
strategy:
Expand Down Expand Up @@ -167,15 +164,14 @@ jobs:

steps:
- name: Checkout rcmcarddav
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up CI environment
uses: ./.github/actions/setup
- name: Database interoperability tests for Postgres
run: make tests-postgres
- name: Upload DB interoperability test coverage reports to codecov.io
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
file: testreports/dbinterop-postgres/clover.xml
files: testreports/dbinterop-postgres/clover.xml
flags: dbinterop-postgres
name: RCMCardDAV PostgreSQL database interoperability test coverage
fail_ci_if_error: false

0 comments on commit 6b46005

Please sign in to comment.