Skip to content

Format @

Format @ #79

Workflow file for this run

on: [push]
jobs:
check-license:
runs-on: ubuntu-latest
name: Check License
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- run: make go-deps
- run: make check-license
check-spelling:
runs-on: ubuntu-latest
name: Check Spelling
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- run: make go-deps
- run: make spellcheck
check-gen:
runs-on: ubuntu-latest
name: Check Gen
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- run: make node-deps
- run: make check-gen
check-valid:
runs-on: ubuntu-latest
name: Check Valid
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- run: make node-deps
- run: make check-valid
salus:
runs-on: ubuntu-latest
name: Salus Security Scan
steps:
- uses: actions/checkout@v3
- name: Salus Scan
id: salus_scan
uses: federacy/[email protected]
env:
SALUS_CONFIGURATION: "file://salus-config.yaml"
release:
# Publish for a tag starting with v.
runs-on: ubuntu-latest
name: Create Release
needs: [check-license, check-spelling, check-gen, check-valid, salus]
steps:
- name: Checkout
uses: actions/checkout@v4
- run: make node-deps
- run: make bundle
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: api.json