Skip to content

Commit 4d7e9ac

Browse files
authored
Merge pull request #1 from nguyenanhung/v3.1.14-develop
Add GitHub workflows
2 parents 6c45c38 + 2ab67bb commit 4d7e9ac

File tree

3 files changed

+214
-185
lines changed

3 files changed

+214
-185
lines changed

.github/workflows/php.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# GitHub Action for CodeIgniter3 Framework develop by HungNG
2+
name: Testing CodeIgniter3 Framework develop by HungNG
3+
on: [ push, pull_request ]
4+
jobs:
5+
build:
6+
strategy:
7+
matrix:
8+
operating-system: [ 'ubuntu-latest', 'ubuntu-20.04', 'ubuntu-22.04', 'macos-latest', 'macos-11', 'macos-12' ]
9+
php-versions: [ '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2' ]
10+
runs-on: ${{ matrix.operating-system }}
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v3
14+
- name: Setup PHP, with composer and extensions
15+
uses: shivammathur/setup-php@v2 # From https://github.com/shivammathur/setup-php
16+
with:
17+
php-version: ${{ matrix.php-versions }}
18+
extensions: mbstring, intl, curl, json, openssl, iconv, bcmath, xml
19+
- name: Get composer cache directory
20+
id: composer-cache
21+
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
22+
- name: Cache dependencies
23+
uses: actions/cache@v3
24+
with:
25+
path: ${{ steps.composer-cache.outputs.dir }}
26+
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
27+
restore-keys: ${{ runner.os }}-composer-
28+
- name: Install dependencies
29+
run: composer install --no-dev --no-progress --prefer-dist --optimize-autoloader

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Bản đóng gói lại thư mục system framework của CodeIgniter, sử dụng tương thích với Composer và PHP 7, PHP 8
66

7-
Bản đóng gói `v3.1.13` bổ sung thêm 1 số tính năng mới, tương thích với phiên bản PHP 8.1
7+
Bản đóng gói `v3.1.14` bổ sung thêm 1 số tính năng mới, tương thích với phiên bản PHP 8.2
88

99

1010
Mục lục

0 commit comments

Comments
 (0)