Skip to content

Merge pull request #17 from cryptape/feat/deploy-workflow #1

Merge pull request #17 from cryptape/feat/deploy-workflow

Merge pull request #17 from cryptape/feat/deploy-workflow #1

Workflow file for this run

name: Deploy
on:
push:
tags: ['v*']
jobs:
publish:
name: Publish to crates.io
runs-on: ubuntu-latest
environment: crates.io
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v4
- run: rustup update 1.76.0 && rustup default 1.76.0
- name: Run tests
run: cargo test --verbose
env:
RUSTFLAGS: "-Dwarnings"
- name: Publish
run: cargo publish