Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: replace outdated Github action with Nix and Prettify #198

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@ on:

jobs:
build:
name: 'PHP ${{ matrix.php.branch }}'
name: "PHP ${{ matrix.php.branch }}"
runs-on: ubuntu-latest
strategy:
matrix:
php:
- branch: '8.2'
- branch: '8.1'
- branch: '8.0'
- branch: '7.4'
- branch: '7.3'
- branch: '7.2'
- branch: '7.1'
- branch: '7.0'
- branch: '5.6'
- branch: "8.2"
- branch: "8.1"
- branch: "8.0"
- branch: "7.4"
- branch: "7.3"
- branch: "7.2"
- branch: "7.1"
- branch: "7.0"
- branch: "5.6"
# We want to fix failures individually.
fail-fast: false
steps:
Expand All @@ -34,7 +34,7 @@ jobs:
uses: cachix/cachix-action@v12
with:
name: fossar
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"

- name: Set job parameters
id: params
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/editorconfig-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install Nix
uses: cachix/install-nix-action@v18

- name: Check files for EditorConfig compliance
uses: editorconfig-checker/action-editorconfig-checker@d4fca16fc71adef10fbe101903b654449fa9570c # untagged main
with:
version: 2.7.0
run: nix run nixpkgs#nodePackages.prettier -- --check .