Skip to content

Commit

Permalink
[PLA-2043] Use stable packages (#67)
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Custodio <leonardo@enjin.io>
  • Loading branch information
leonardocustodio authored Oct 16, 2024
1 parent 660b9f6 commit eb22482
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 9 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Setup GO
uses: actions/setup-go@v5
with:
go-version: "^1.19"
go-version: "^1.23"

- name: Setup problem matchers
run: |
Expand All @@ -58,9 +58,13 @@ jobs:
mkdir -p ~/.ssh
echo "${{ secrets.SSH_PHP_COMMONS }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
composer install --no-interaction --no-progress
composer install --no-interaction --prefer-dist --no-autoloader --no-dev --no-scripts
- name: Update packages
run: |
composer require enjin/platform-core:dev-master --no-update
composer update --no-interaction --optimize-autoloader
composer build-sr25519
composer dump-autoload
- name: Execute tests
run: |
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/sast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,16 @@ jobs:
- name: Install dependencies
run: |
composer install --no-interaction --no-progress
composer dump-autoload
mkdir -p ~/.ssh
echo "${{ secrets.SSH_PHP_COMMONS }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
composer install --no-interaction --prefer-dist --no-autoloader --no-dev --no-scripts
- name: Update packages
run: |
composer require enjin/platform-core:dev-master --no-update
composer update --no-interaction --optimize-autoloader
composer build-sr25519
- name: Run Rector
run: |
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
"ext-openssl": "*",
"enjin/platform-core": "*",
"phrity/websocket": "^1.0",
"rebing/graphql-laravel": "^9.2",
"rebing/graphql-laravel": "^9.0",
"rector/rector": "^1.0",
"spatie/laravel-package-tools": "^1.0",
"spatie/laravel-ray": "^1.0"
},
"require-dev": {
"dms/phpunit-arraysubset-asserts": "dev-master",
"laravel/pint": "^1.15",
"nunomaduro/collision": "^8.1",
"laravel/pint": "^1.0",
"nunomaduro/collision": "^8.0",
"larastan/larastan": "^2.0",
"orchestra/testbench": "^9.0",
"phpstan/extension-installer": "^1.0",
Expand Down Expand Up @@ -82,5 +82,5 @@
}
},
"minimum-stability": "dev",
"prefer-stable": false
"prefer-stable": true
}

0 comments on commit eb22482

Please sign in to comment.