Skip to content

Alan/fix styling issues #10

Alan/fix styling issues

Alan/fix styling issues #10

Workflow file for this run

# SPDX-FileCopyrightText: 2025 The Cipher Host Team <team@cipher.host>
#
# SPDX-License-Identifier: CC0-1.0
---
name: 'CI'
on:
push:
branches: ['trunk']
paths-ignore:
- '.editorconfig'
- '.gitignore'
- '.golangci.yml'
- '*.csv'
- '*.md'
- 'license-3rdparty.tpl'
- 'package*'
pull_request:
branches: ['trunk']
paths-ignore:
- '.editorconfig'
- '.gitignore'
- '.golangci.yml'
- '*.csv'
- '*.md'
- 'license-3rdparty.tpl'
- 'package*'
permissions:
contents: 'read'
jobs:
test:
runs-on: 'ubuntu-latest'
name: 'Tests'
steps:
- uses: 'step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e' # v2.10.4
with:
egress-policy: 'audit'
- uses: 'actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683' # v4.2.2
with:
persist-credentials: 'false'
- name: 'Setup Go environment'
uses: 'actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34' # v5.3.0
with:
go-version: '>=1.24'
- name: 'Setup Node.js environment'
uses: 'actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a' # v4.2.0
with:
node-version: 'latest'
- name: 'Install dependencies'
run: 'sudo apt-get install scdoc && npm install'
- name: 'Run tests'
run: 'make test'
- name: 'Run build'
run: 'make'