Skip to content

Commit

Permalink
pin CI and fix formatting (#1969)
Browse files Browse the repository at this point in the history
* pin CI and fix formatting

* remove generated test
  • Loading branch information
xavdid-stripe authored Jan 16, 2025
1 parent 7a0ef1d commit 66a249a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
lint:
name: Lint

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

steps:
- uses: extractions/setup-just@v2
Expand All @@ -38,7 +38,7 @@ jobs:
just lint format-check
test:
runs-on: ubuntu-latest
runs-on: "ubuntu-24.04"
strategy:
matrix:
go:
Expand Down Expand Up @@ -69,7 +69,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
3 changes: 2 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ lint: install
go vet ./...
staticcheck

# don't depend on `install` in this step! Before formatting, our `go` code isn't syntactically valid
# ⭐ format all files
format: install && _normalize-imports
format: && _normalize-imports
scripts/gofmt.sh
goimports -w example/generated_examples_test.go

Expand Down

0 comments on commit 66a249a

Please sign in to comment.