perf: cache mappers, avoid allocations, codons are arrays (#172) #127
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
name: release-please | |
jobs: | |
release-please: | |
if: github.repository_owner == 'varfish-org' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: GoogleCloudPlatform/release-please-action@v4 | |
id: release | |
with: | |
release-type: rust | |
package-name: hgvs | |
token: ${{ secrets.BOT_TOKEN }} | |
- uses: actions/checkout@v4 | |
if: ${{ steps.release.outputs.release_created }} | |
- name: Install stable toolchain | |
uses: actions-rs/toolchain@v1 | |
if: ${{ steps.release.outputs.release_created }} | |
with: | |
toolchain: stable | |
override: true | |
- uses: Swatinem/[email protected] | |
if: ${{ steps.release.outputs.release_created }} | |
- name: Publish crate | |
if: ${{ steps.release.outputs.release_created }} | |
uses: actions-rs/cargo@v1 | |
with: | |
command: publish | |
args: --token ${{ secrets.CRATES_IO_TOKEN }} |