Skip to content

Merge pull request #8 from 0xPlaygrounds/devops/setup-ci-cd #2

Merge pull request #8 from 0xPlaygrounds/devops/setup-ci-cd

Merge pull request #8 from 0xPlaygrounds/devops/setup-ci-cd #2

Workflow file for this run

name: "Build & Release"
permissions:
pull-requests: write
contents: write
on:
push:
branches:
- main
secrets:
CARGO_REGISTRY_TOKEN:
description: "Token to publish to crates.io"
required: true
workflow_dispatch:
jobs:
run-ci:

Check failure on line 18 in .github/workflows/cd.yaml

View workflow run for this annotation

GitHub Actions / Build & Release

Invalid workflow file

The workflow is not valid. .github/workflows/cd.yaml (Line: 18, Col: 3): The workflow must contain at least one job with no dependencies.
needs: validate-input
uses: ./.github/workflows/ci.yaml
release-plz:
name: Release-plz
needs: run-ci
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Run release-plz
uses: MarcoIeni/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}