Skip to content

Merge pull request #5 from cipherdothost/james/update-dependencies #21

Merge pull request #5 from cipherdothost/james/update-dependencies

Merge pull request #5 from cipherdothost/james/update-dependencies #21

Workflow file for this run

# SPDX-FileCopyrightText: 2025 The Cipher Host Team <team@cipher.host>
#
# SPDX-License-Identifier: CC0-1.0
---
name: 'Lint'
on:
push:
paths-ignore:
- '.editorconfig'
- '.gitignore'
- '*.csv'
- '*.md'
- 'license-3rdparty.tpl'
pull_request:
paths-ignore:
- '.editorconfig'
- '.gitignore'
- '*.csv'
- '*.md'
- 'license-3rdparty.tpl'
permissions:
contents: 'read'
jobs:
go:
name: 'Lint all files'
runs-on: 'ubuntu-latest'
steps:
- uses: 'step-security/harden-runner@c6295a65d1254861815972266d5933fd6e532bdf' # v2.11.1
with:
egress-policy: 'audit'
- uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # v4.2.2
with:
persist-credentials: false
- name: 'Setup Go environment'
uses: 'actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b' # v5.4.0
with:
go-version: '>=1.24'
- name: 'Setup Node.js environment'
uses: 'actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020' # v4.4.0
with:
node-version: 'latest'
- name: 'Run govulncheck'
run: 'make vulnerabilities'
- name: 'Run golangci-lint'
run: 'make lint'
- name: 'Run stylelint'
run: 'npm install && make lint/styles'