Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
setup_only: true

- name: Install protoc-gen-buffa
run: cargo install protoc-gen-buffa@0.9.1 protoc-gen-buffa-packaging@0.9.1
run: cargo install --locked protoc-gen-buffa@0.9.1 protoc-gen-buffa-packaging@0.9.1

- name: Verify proto bindings are up to date
run: |
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@ on:
branches: [main]

permissions:
contents: write
pull-requests: write
contents: read

jobs:
release-please:
environment: release
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
DATABASE_URL: postgres://sqlc:sqlc@localhost:5432/sqlc_test

publish-release:
environment: release
needs: verify
runs-on: ubuntu-latest
timeout-minutes: 15
Expand Down
3 changes: 1 addition & 2 deletions hk.pkl
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,7 @@ local checks = new Mapping<String, Step> {
// Rust.
["cargo-lockfile"] = new Step {
glob = List("Cargo.toml", "Cargo.lock", "**/Cargo.toml")
check =
"worktree=$(mktemp -d) && trap 'rm -rf \"$worktree\"' EXIT && git ls-files -z | tar --null -T - -cf - | tar -xf - -C \"$worktree\" && cargo generate-lockfile --manifest-path \"$worktree/Cargo.toml\" && diff -u Cargo.lock \"$worktree/Cargo.lock\""
check = "cargo metadata --locked --format-version 1 --all-features > /dev/null"
profiles = slow
}
["cargo-fmt"] = (Builtins.cargo_fmt) {
Expand Down