Skip to content

updated pre-commit revisions #26

updated pre-commit revisions

updated pre-commit revisions #26

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: primary
on:
workflow_dispatch:
push:
branches: [trunk]
jobs:
primary:
runs-on: ubuntu-latest
steps:
# ------------------------------------------------------------------------
- uses: actions/checkout@v4
- uses: asdf-vm/actions/install@v3
# ------------------------------------------------------------------------
- uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Setup pre-commit
run: |
pip install pre-commit
pre-commit install
- name: Cache pre-commit
uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: ${{ runner.os }}-pre-commit
- name: Run pre-commit
run: pre-commit run --all-files --verbose --show-diff-on-failure
# ------------------------------------------------------------------------
- name: Asdf plugin test
uses: asdf-vm/actions/plugin-test@v3
with:
command: gopass --help
env:
LOGSH_COLOR: 'true'
LOGSH_LEVEL: '4'
# ------------------------------------------------------------------------
# Semantic Release
- name: Copy package meta info to root
run: cp node/package* .
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: npm
- name: Install packages
run: npm install --no-progress --prefer-offline --no-audit
- name: Semantic Release
run: npx --no-install semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# ------------------------------------------------------------------------