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
16 changes: 13 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ env:
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
steps:
- name: "☁️ checkout repository"
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
Expand All @@ -24,12 +28,18 @@ jobs:
run: bun install -D @semantic-release/git conventional-changelog-conventionalcommits@8 semantic-release-cargo

- name: Get Author Name and Email
id: author_info
run: |
AUTHOR_NAME=$(git log -1 --pretty=format:%an ${{ github.sha }})
AUTHOR_EMAIL=$(git log -1 --pretty=format:%ae ${{ github.sha }})
echo "AUTHOR_NAME=$AUTHOR_NAME" >> $GITHUB_OUTPUT
echo "AUTHOR_EMAIL=$AUTHOR_EMAIL" >> $GITHUB_OUTPUT
id: author_info
{
echo "AUTHOR_NAME<<EOF"
echo "$AUTHOR_NAME"
echo "EOF"
echo "AUTHOR_EMAIL<<EOF"
echo "$AUTHOR_EMAIL"
echo "EOF"
} >> "$GITHUB_OUTPUT"
Comment on lines +35 to +42

- name: "Semantic release🚀"
id: release
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ env:
jobs:
build-onnx:
runs-on: ubuntu-latest
permissions:
contents: read

steps:
- name: Restore ONNX Build
Expand Down Expand Up @@ -40,6 +42,8 @@ jobs:
test:
needs: build-onnx
runs-on: ubuntu-latest
permissions:
contents: read
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
strategy:
Expand Down Expand Up @@ -74,6 +78,8 @@ jobs:

lint:
runs-on: ubuntu-latest
permissions:
contents: read

steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
Expand All @@ -92,6 +98,8 @@ jobs:

clippy-features:
runs-on: ${{ matrix.os }}
permissions:
contents: read
strategy:
fail-fast: false
matrix:
Expand Down
Loading