Skip to content

Commit 19e31d5

Browse files
ok
1 parent 01260fa commit 19e31d5

File tree

4 files changed

+16
-10
lines changed

4 files changed

+16
-10
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414
jobs:
1515
# windows does not run git cliff so we need to do it here
1616
extract_version:
17-
name: Extract Version & Security Audit
17+
name: Extract Version
1818
runs-on: ubuntu-latest
1919
outputs:
2020
version: ${{ steps.set_version.outputs.version }}
@@ -24,6 +24,9 @@ jobs:
2424
with:
2525
fetch-depth: 0
2626

27+
- name: Set up git-cliff
28+
uses: kenji-miyake/setup-git-cliff@v1
29+
2730
- name: Set version name
2831
id: set_version
2932
run: echo "version=$(git cliff --bumped-version)" >> "$GITHUB_OUTPUT"
@@ -43,7 +46,6 @@ jobs:
4346
- { os: ubuntu-22.04, target: x86_64-unknown-linux-musl }
4447

4548
runs-on: ${{ matrix.config.os }}
46-
container: ${{ matrix.config.container }}
4749

4850
outputs:
4951
artifact_url: ${{ steps.upload-artifacts.outputs.artifact-url }}
@@ -134,11 +136,11 @@ jobs:
134136
env:
135137
GITHUB_REPO: ${{ github.repository }}
136138

137-
# - name: Ensure tag matches
138-
# if: steps.create_changelog.outputs.version != needs.extract_version.outputs.version
139-
# run: |
140-
# echo "Tag does not match: ${{ steps.create_changelog.outputs.version }} vs ${{ needs.extract_version.outputs.version }}"
141-
# exit 1
139+
- name: Ensure tag matches
140+
if: steps.create_changelog.outputs.version != needs.extract_version.outputs.version
141+
run: |
142+
echo "Tag does not match: ${{ steps.create_changelog.outputs.version }} vs ${{ needs.extract_version.outputs.version }}"
143+
exit 1
142144
143145
- name: 👇 Download Artifacts
144146
uses: actions/download-artifact@v4

crates/pgt_lexer/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pub use crate::lexed::{LexDiagnostic, Lexed};
77
pub use crate::lexer::Lexer;
88

99
/// Lex the input string into tokens and diagnostics
10-
pub fn lex<'a>(input: &'a str) -> Lexed<'a> {
10+
pub fn lex(input: &str) -> Lexed {
1111
Lexer::new(input).lex()
1212
}
1313

packages/@postgrestools/postgrestools/bin/postgrestools

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ function isMusl() {
2424
let stderr;
2525
try {
2626
stderr = execSync("ldd --version", {
27-
stdio: ["pipe", "pipe", "pipe"],
27+
stdio: [
28+
"ignore", // stdin
29+
"pipe", // stdout – glibc systems print here
30+
"pipe", // stderr – musl systems print here
31+
],
2832
});
2933
} catch (err) {
3034
stderr = err.stderr;

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[toolchain]
22
profile = "default"
3-
channel = "1.86.0"
3+
channel = "1.86.0"

0 commit comments

Comments
 (0)