Skip to content

Commit

Permalink
minor justfile fixes (#1807)
Browse files Browse the repository at this point in the history
  • Loading branch information
xavdid-stripe authored Jan 16, 2025
1 parent a815f85 commit 9fe9d51
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
php-cs-fixer:
name: PHP-CS-Fixer

runs-on: ubuntu-latest
runs-on: "ubuntu-24.04"

steps:
- uses: actions/checkout@v3
Expand All @@ -35,7 +35,7 @@ jobs:
phpstan:
name: PHPStan

runs-on: ubuntu-latest
runs-on: "ubuntu-24.04"

steps:
- uses: extractions/setup-just@v2
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
run: just lint

tests:
runs-on: ubuntu-latest
runs-on: "ubuntu-24.04"

strategy:
fail-fast: false
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
(github.event_name == 'workflow_dispatch' || github.event_name == 'push') &&
startsWith(github.ref, 'refs/tags/v') &&
endsWith(github.actor, '-stripe')
runs-on: ubuntu-latest
runs-on: "ubuntu-24.04"
steps:
- uses: actions/checkout@v2
- uses: stripe/openapi/actions/notify-release@master
Expand Down
8 changes: 2 additions & 6 deletions justfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import? '../sdk-codegen/justfile'

set quiet

import? '../sdk-codegen/utils.just'

# make vendored executables callable directly
export PATH := "vendor/bin:" + env_var('PATH')

Expand All @@ -26,10 +26,6 @@ ci-test autoload:
format *args: install
PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix -v --using-cache=no {{ args }}

# for backwards compatibility; ideally removed later
[private]
alias codegen-format := format

# check formatting for, but don't modify, files
format-check: (format "--dry-run")

Expand Down

0 comments on commit 9fe9d51

Please sign in to comment.