Skip to content

Commit 9fe9d51

Browse files
minor justfile fixes (#1807)
1 parent a815f85 commit 9fe9d51

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

.github/workflows/ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
php-cs-fixer:
2323
name: PHP-CS-Fixer
2424

25-
runs-on: ubuntu-latest
25+
runs-on: "ubuntu-24.04"
2626

2727
steps:
2828
- uses: actions/checkout@v3
@@ -35,7 +35,7 @@ jobs:
3535
phpstan:
3636
name: PHPStan
3737

38-
runs-on: ubuntu-latest
38+
runs-on: "ubuntu-24.04"
3939

4040
steps:
4141
- uses: extractions/setup-just@v2
@@ -68,7 +68,7 @@ jobs:
6868
run: just lint
6969

7070
tests:
71-
runs-on: ubuntu-latest
71+
runs-on: "ubuntu-24.04"
7272

7373
strategy:
7474
fail-fast: false
@@ -132,7 +132,7 @@ jobs:
132132
(github.event_name == 'workflow_dispatch' || github.event_name == 'push') &&
133133
startsWith(github.ref, 'refs/tags/v') &&
134134
endsWith(github.actor, '-stripe')
135-
runs-on: ubuntu-latest
135+
runs-on: "ubuntu-24.04"
136136
steps:
137137
- uses: actions/checkout@v2
138138
- uses: stripe/openapi/actions/notify-release@master

justfile

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import? '../sdk-codegen/justfile'
2-
31
set quiet
42

3+
import? '../sdk-codegen/utils.just'
4+
55
# make vendored executables callable directly
66
export PATH := "vendor/bin:" + env_var('PATH')
77

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

29-
# for backwards compatibility; ideally removed later
30-
[private]
31-
alias codegen-format := format
32-
3329
# check formatting for, but don't modify, files
3430
format-check: (format "--dry-run")
3531

0 commit comments

Comments
 (0)