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 a55fa82 commit 3fbf73d
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
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,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
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,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 @@ -40,20 +40,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 @@ -63,20 +62,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: '8.0'
- 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 @@ -116,7 +114,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 @@ -127,12 +125,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 @@ -164,17 +161,16 @@ 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: '8.0'
- 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 3fbf73d

Please sign in to comment.