Skip to content

feat(cli): display status message in table when running glasskube list #48

feat(cli): display status message in table when running glasskube list

feat(cli): display status message in table when running glasskube list #48

Workflow file for this run

name: Build Go Project
on:
push:
paths-ignore:
- website/**
pull_request:
paths-ignore:
- website/**
merge_group:
types:
- checks_requested
paths-ignore:
- website/**
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5
with:
go-version: 1.22.x
- name: Set up node
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: "20.9"
cache: npm
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: bin
key: ${{ runner.os }}-${{ hashFiles('Makefile', 'go.mod', 'go.sum') }}
- name: Install dependencies
run: npm ci
- run: make all
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: artifacts-${{ runner.os }}-${{ runner.arch }}
path: dist/
- name: Check if repository is clean
run: |
STATUS="$(git status --porcelain)"
if [ -z "$STATUS" ]; then
echo Repository is clean.
else
echo "Repository is not clean:
$STATUS"
exit 1
fi