Skip to content

Merge pull request #24 from maestro-org/publish-crates #24

Merge pull request #24 from maestro-org/publish-crates

Merge pull request #24 from maestro-org/publish-crates #24

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v3
with:
go-version: "1.21"
- name: Build
run: cargo build --verbose
- name: Publish to crates.io
run: cargo publish --token ${CRATES_TOKEN}
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}