Skip to content

build: macro crate inherits most keys #304

build: macro crate inherits most keys

build: macro crate inherits most keys #304

Workflow file for this run

on:
push: {}
pull_request: {}
jobs:
cargo-make-ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # for commit linting and semantic-release
persist-credentials: false
- uses: webiny/[email protected]
- run: rustup update
- uses: actions/cache@v3
with:
path: |
.bin/
target/
~/.cargo/
# cargo-run-bin refers to the following step
key: ${{ runner.os }}_cargo-run-bin_${{ hashFiles('Cargo.toml', 'Cargo.lock') }}
restore-keys: |
${{ runner.os }}_cargo-run-bin_
${{ runner.os }}_
- run: cargo install cargo-run-bin
- uses: navikt/github-app-token-generator@v1
id: get-token
with:
private-key: ${{ secrets.MICHIE_BOT_PRIVATE_KEY }}
app-id: ${{ secrets.MICHIE_BOT_APP_ID }}
- run: cargo bin makers ci
env:
GITHUB_TOKEN: ${{ steps.get-token.outputs.token }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}