File tree Expand file tree Collapse file tree 4 files changed +16
-10
lines changed
packages/@postgrestools/postgrestools/bin Expand file tree Collapse file tree 4 files changed +16
-10
lines changed Original file line number Diff line number Diff line change 1414jobs :
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 }}
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"
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
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ pub use crate::lexed::{LexDiagnostic, Lexed};
77pub 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
Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff line change 11[toolchain ]
22profile = " default"
3- channel = " 1.86.0"
3+ channel = " 1.86.0"
You can’t perform that action at this time.
0 commit comments