Skip to content

ignore tmp

ignore tmp #9

Workflow file for this run

name: Build
on:
push:
branches:
- "*"
tags-ignore:
- "v*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: actions/setup-node@v4
with:
node-version: '18.x'
- run: npm ci
working-directory: ui/
- run: npm run build
working-directory: ui/
- uses: actions/setup-go@v5
with:
go-version: "1.21.1"
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.55.2
- name: Build
run: make build-all
- run: touch .env
- run: bin/securebin_linux-amd64 --help
- name: Install UPX
uses: crazy-max/ghaction-upx@v3
with:
install-only: true
- run: make compress-linux
- uses: actions/upload-artifact@v4
with:
name: binaries
path: bin/securebin*
retention-days: 3