Skip to content

Commit

Permalink
update github actions to use php8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
proditis committed Oct 22, 2024
1 parent a68faf6 commit dea8dc6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-merged-pull_requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ jobs:
- name: Install frontend dependencies
run: |
cd frontend
php7.4 /usr/bin/composer update --no-dev --prefer-dist --no-progress
php8.3 /usr/bin/composer update --no-dev --prefer-dist --no-progress
- name: Install backend dependencies
run: |
cd backend
php7.4 /usr/bin/composer update --no-dev --prefer-dist --no-progress
php8.3 /usr/bin/composer update --no-dev --prefer-dist --no-progress
dockerbuilds:
if: github.event.pull_request.merged == 'true'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-pull_requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ jobs:
- name: Install frontend dependencies
run: |
cd frontend
php7.4 /usr/bin/composer update --no-dev --prefer-dist --no-progress
php8.3 /usr/bin/composer update --no-dev --prefer-dist --no-progress
- name: Install backend dependencies
run: |
cd backend
php7.4 /usr/bin/composer update --no-dev --prefer-dist --no-progress
php8.3 /usr/bin/composer update --no-dev --prefer-dist --no-progress
- name: Build the all-in-one Docker image
run: docker build --no-cache . --file contrib/Dockerfile --tag echothrust/echoctf.red-all-in-one:latest
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: '8.3'
extensions: imagick, gd, mysqli, pdo, intl, mbstring
tools: composer:v2

Expand Down Expand Up @@ -43,12 +43,12 @@ jobs:
- name: Install frontend dependencies
run: |
cd frontend
php7.4 /usr/bin/composer update --no-dev --prefer-dist --no-progress
php8.3 /usr/bin/composer update --no-dev --prefer-dist --no-progress
- name: Install backend dependencies
run: |
cd backend
php7.4 /usr/bin/composer update --no-dev --prefer-dist --no-progress
php8.3 /usr/bin/composer update --no-dev --prefer-dist --no-progress
dockerbuilds:
needs: [phpcomposer]
Expand All @@ -61,7 +61,7 @@ jobs:
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: '8.3'
extensions: imagick, gd, mysqli, pdo, intl, mbstring
tools: composer:v2
- uses: actions/checkout@v3
Expand All @@ -77,12 +77,12 @@ jobs:
- name: Install frontend dependencies
run: |
cd frontend
php7.4 /usr/bin/composer update --no-dev --prefer-dist --no-progress
php8.3 /usr/bin/composer update --no-dev --prefer-dist --no-progress
- name: Install backend dependencies
run: |
cd backend
php7.4 /usr/bin/composer update --no-dev --prefer-dist --no-progress
php8.3 /usr/bin/composer update --no-dev --prefer-dist --no-progress
- name: Build the all-in-one Docker image
run: docker build --no-cache --squash . --file contrib/Dockerfile --tag echothrust/echoctf.red-all-in-one:latest
Expand Down

0 comments on commit dea8dc6

Please sign in to comment.