Skip to content

Commit

Permalink
ci bumps
Browse files Browse the repository at this point in the history
  • Loading branch information
icewind1991 committed Aug 10, 2023
1 parent 9d57f5a commit 0ded07d
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: CI
jobs:
php-cs-fixer:
name: PHP-CS-Fixer
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand All @@ -19,7 +19,7 @@ jobs:
args: --diff --dry-run --allow-risky yes --stop-on-violation --using-cache=no --path-mode=intersection

php-versions:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
name: Unit tests

strategy:
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Install packages
run: |
sudo apt-get install smbclient
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand All @@ -70,12 +70,12 @@ jobs:
command: php ./vendor/bin/phpunit tests -c tests/phpunit.xml --coverage-clover=coverage.xml
env:
BACKEND: ${{ matrix.backend }}
- uses: codecov/codecov-action@v1
- uses: codecov/codecov-action@v3
with:
files: ./coverage.xml

smb-versions:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
name: Unit tests

strategy:
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
echo "[global]\nclient min protocol = SMB2\nclient max protocol = SMB3" | sudo tee /etc/samba/smb.conf
sudo wget "https://github.com/icewind1991/smbclient-builder/releases/download/v0.1.2/smbclient-${{ matrix.client-version }}" -O /usr/local/bin/smbclient
sudo chmod +x /usr/local/bin/smbclient
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand All @@ -137,12 +137,12 @@ jobs:
command: php ./vendor/bin/phpunit tests -c tests/phpunit.xml --coverage-clover=coverage.xml
env:
BACKEND: smbclient
- uses: codecov/codecov-action@v1
- uses: codecov/codecov-action@v3
with:
files: ./coverage.xml

alpine-test:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
name: Unit tests (alpine)

services:
Expand All @@ -157,7 +157,7 @@ jobs:
- 445:445

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand All @@ -175,10 +175,10 @@ jobs:
docker run --network "host" --rm -v $PWD:/smb icewind1991/smbclient-php-alpine /smb/vendor/bin/phpunit -c /smb/tests/phpunit.xml /smb/tests
kerberos-sso:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
name: Kerberos SSO tests
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand Down Expand Up @@ -207,7 +207,7 @@ jobs:
docker logs apache
static-psalm-analysis:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: Psalm static analysis

strategy:
Expand All @@ -225,7 +225,7 @@ jobs:
- name: krb5-dev
run: sudo apt-get install -y libkrb5-dev
- name: Checkout
uses: actions/checkout@master
uses: actions/checkout@v3
- name: Set up php
uses: shivammathur/setup-php@master
with:
Expand All @@ -242,12 +242,12 @@ jobs:

phpstan:
name: PHPStan Static Analysis
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- name: krb5-dev
run: sudo apt-get install -y libkrb5-dev
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand Down

0 comments on commit 0ded07d

Please sign in to comment.