Skip to content

Commit

Permalink
GH Actions: minor simplification
Browse files Browse the repository at this point in the history
Remove the `experimental` key in favour of a condition.
  • Loading branch information
jrfnl committed Apr 24, 2024
1 parent a53621b commit b6e1fd6
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,34 +71,28 @@ jobs:
- php: '5.4'
phpcompat: 'stable'
sodium: '1'
experimental: false
- php: 'latest'
phpcompat: 'stable'
sodium: '1'
experimental: false

# Sodium Compat 2.x (master) is compatible with PHP 8.1 - current.
- php: '8.1'
phpcompat: 'stable'
sodium: 'dev'
experimental: false
- php: 'latest'
phpcompat: 'stable'
sodium: 'dev'
experimental: false

# Experimental builds against PHPCompatibility 10.
- php: '7.4'
phpcompat: 'dev-develop as 9.99.99'
sodium: '1'
experimental: true
- php: '8.1'
phpcompat: 'dev-develop as 9.99.99'
sodium: 'dev'
experimental: true

name: "Test: PHP ${{ matrix.php }} - PHPCompat ${{ matrix.phpcompat != 'stable' && ' dev' || 'stable' }} - Sodium ${{ matrix.sodium }}"
continue-on-error: ${{ matrix.experimental }}
continue-on-error: ${{ matrix.phpcompat != 'stable' }}

steps:
- name: Checkout code
Expand Down

0 comments on commit b6e1fd6

Please sign in to comment.