Skip to content

ci: updated automation and add Vault #1

ci: updated automation and add Vault

ci: updated automation and add Vault #1

Workflow file for this run

name: CI

Check failure on line 1 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

(Line: 24, Col: 15): Expected format {org}/{repo}[/path]@ref. Actual 'hashicorp/setup-copywrite'
on:
push:
workflow_dispatch:
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
build-with-coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: "22"
cache: "npm"
- name: Setup Copywrite
uses: hashicorp/setup-copywrite
- name: Install dependencies
run: make install-dependencies
- name: Configure git for private modules
env:
TOKEN: ${{ secrets.SPECTRO_TOKEN }}
USER: ${{ secrets.SPECTRO_USER }}
run: git config --global url."https://${USER}:${TOKEN}@github.com".insteadOf "https://github.com"
- name: Ensure Reviewable
run: make check-diff
- name: Generate
run: make generate
- name: Test
run: make test