23 Commits

Author SHA1 Message Date
Renovate Bot
432a4c376a Update https://git.quad4.io/actions/checkout action to v6
All checks were successful
CI / build (pull_request) Successful in 9m50s
2025-12-31 00:03:31 +00:00
931c8f4370 Merge pull request 'Update https://git.quad4.io/actions/setup-pnpm action to v4.2.0' (#16) from renovate/https-git.quad4.io-actions-setup-pnpm-4.x into master
All checks were successful
CI / build (push) Successful in 1m26s
renovate / renovate (push) Successful in 5m32s
Reviewed-on: #16
2025-12-29 20:07:19 +00:00
2c5e258934 Merge pull request 'Update https://git.quad4.io/actions/setup-node action to v4.4.0' (#15) from renovate/https-git.quad4.io-actions-setup-node-4.x into master
All checks were successful
CI / build (push) Successful in 1m36s
renovate / renovate (push) Successful in 6m26s
Reviewed-on: #15
2025-12-29 20:07:11 +00:00
Renovate Bot
4ba4ecd722 Update https://git.quad4.io/actions/setup-pnpm action to v4.2.0
All checks were successful
CI / build (pull_request) Successful in 9m47s
2025-12-29 20:04:50 +00:00
Renovate Bot
812b47457d Update https://git.quad4.io/actions/setup-node action to v4.4.0
All checks were successful
CI / build (pull_request) Successful in 9m44s
2025-12-29 20:04:49 +00:00
5ec4eddd14 Merge pull request 'Update https://git.quad4.io/actions/checkout action to v4.3.1' (#11) from renovate/https-git.quad4.io-actions-checkout-4.x into master
Some checks failed
CI / build (push) Failing after 1m32s
renovate / renovate (push) Failing after 3m51s
Reviewed-on: #11
2025-12-29 20:01:39 +00:00
37012ac80a Merge pull request 'Update https://git.quad4.io/actions/setup-pnpm digest to a7487c7' (#9) from renovate/https-git.quad4.io-actions-setup-pnpm-digest into master
All checks were successful
renovate / renovate (push) Successful in 6m3s
CI / build (push) Successful in 9m44s
Reviewed-on: #9
2025-12-29 20:01:30 +00:00
69e551986a Merge pull request 'Update https://git.quad4.io/actions/setup-go action to v5.6.0' (#12) from renovate/https-git.quad4.io-actions-setup-go-5.x into master
Some checks failed
CI / build (push) Successful in 1m37s
renovate / renovate (push) Failing after 4m14s
Reviewed-on: #12
2025-12-29 20:01:20 +00:00
ivan
f8254c735b Merge pull request 'Update ghcr.io/renovatebot/renovate Docker tag to v42.66.11' (#10) from renovate/ghcr.io-renovatebot-renovate-42.x into master
All checks were successful
renovate / renovate (push) Successful in 4m57s
CI / build (push) Successful in 9m45s
Reviewed-on: #10
2025-12-29 00:21:15 +00:00
Renovate Bot
046e55f6d0 Update https://git.quad4.io/actions/setup-go action to v5.6.0
All checks were successful
CI / build (pull_request) Successful in 1m44s
2025-12-29 00:04:00 +00:00
Renovate Bot
21bef6d2d7 Update https://git.quad4.io/actions/checkout action to v4.3.1
Some checks failed
CI / build (pull_request) Failing after 1m45s
2025-12-29 00:03:57 +00:00
Renovate Bot
c5c6bea16e Update ghcr.io/renovatebot/renovate Docker tag to v42.66.11
All checks were successful
CI / build (pull_request) Successful in 9m44s
2025-12-29 00:03:56 +00:00
Renovate Bot
0865a2bcbc Update https://git.quad4.io/actions/setup-pnpm digest to a7487c7
All checks were successful
CI / build (pull_request) Successful in 9m48s
2025-12-28 14:51:41 +00:00
cf676eb14c Update Gitea publish workflow by adding input for tag name in release process
All checks were successful
renovate / renovate (push) Successful in 5m48s
CI / build (push) Successful in 9m44s
2025-12-28 08:47:40 -06:00
ivan
f8733d8e6f Merge pull request 'Update ghcr.io/renovatebot/renovate Docker tag to v42' (#4) from renovate/ghcr.io-renovatebot-renovate-42.x into master
Some checks failed
renovate / renovate (push) Has been cancelled
CI / build (push) Successful in 9m45s
Reviewed-on: #4
2025-12-28 06:59:44 +00:00
8204dbf811 Update Taskfile.yml
Some checks failed
renovate / renovate (push) Has been cancelled
CI / build (push) Has been cancelled
2025-12-28 00:56:49 -06:00
0fb281a783 Update Gitea workflow to specify exact version for task setup action and adjust versioning format
All checks were successful
CI / build (push) Successful in 1m0s
renovate / renovate (push) Successful in 5m11s
2025-12-28 00:50:08 -06:00
31948b8f9e Update Gitea workflow to use a custom action URL for checkout
Some checks failed
CI / build (push) Successful in 1m7s
renovate / renovate (push) Failing after 4m7s
2025-12-27 23:28:20 -06:00
6c23005368 Update Renovate configuration for Gitea workflows by adding regex managers for custom action URLs, including support for checkout, Go, Node, pnpm, task setup, SBOM generation, and release actions.
Some checks failed
renovate / renovate (push) Failing after 1s
CI / build (push) Successful in 1m9s
2025-12-27 23:27:40 -06:00
8998cc8253 Update Gitea CI workflow to use custom action URLs for checkout, Go, Node, and pnpm setup
Some checks failed
renovate / renovate (push) Failing after 1s
CI / build (push) Successful in 1m51s
2025-12-27 23:24:54 -06:00
0f250bc715 Remove
Some checks failed
CI / build (push) Failing after 6s
renovate / renovate (push) Failing after 6s
2025-12-27 23:19:06 -06:00
b9119877d0 Update Gitea workflows to use actions for pnpm, task setup, SBOM generation, and release creation 2025-12-27 23:18:59 -06:00
Renovate Bot
fe0dd110f4 Update ghcr.io/renovatebot/renovate Docker tag to v42
All checks were successful
CI / build (pull_request) Successful in 10m58s
2025-12-27 22:30:17 +00:00
6 changed files with 68 additions and 91 deletions

View File

@@ -16,21 +16,21 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: https://git.quad4.io/actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Setup Go - name: Setup Go
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0 uses: https://git.quad4.io/actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
with: with:
go-version: '1.25.4' go-version: '1.25.4'
cache: true cache: true
- name: Setup Node - name: Setup Node
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0 uses: https://git.quad4.io/actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with: with:
node-version: '22' node-version: '22'
- name: Setup pnpm - name: Setup pnpm
uses: pnpm/action-setup@7088e561eb65bb68695d245aa206f005ef30921d # v4.1.0 uses: https://git.quad4.io/actions/setup-pnpm@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
with: with:
version: 9 version: 9

View File

@@ -5,38 +5,42 @@ on:
tags: tags:
- 'v*' - 'v*'
workflow_dispatch: workflow_dispatch:
inputs:
tag_name:
description: 'Tag name for the release'
required: true
type: string
jobs: jobs:
publish: publish:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 uses: https://git.quad4.io/actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Setup Go - name: Setup Go
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5 uses: https://git.quad4.io/actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
with: with:
go-version: '1.25.4' go-version: '1.25.4'
cache: true cache: true
- name: Setup Node - name: Setup Node
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 uses: https://git.quad4.io/actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with: with:
node-version: '22' node-version: '22'
- name: Setup pnpm - name: Setup pnpm
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4 uses: https://git.quad4.io/actions/setup-pnpm@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4
with: with:
version: 10 version: 10
- name: Install Task - name: Install Task
uses: arduino/setup-task@b91d5d2c96a56797b48ac1e0e89220bf64044611 # v2 uses: https://git.quad4.io/actions/setup-task@0ab1b2a65bc55236a3bc64cde78f80e20e8885c2 # v1
with: with:
version: 3.x version: '3.46.3'
repo-token: ${{ secrets.GITEA_TOKEN }}
- name: Generate SBOM - name: Generate SBOM
uses: CycloneDX/gh-gomod-generate-sbom@efc74245d6802c8cefd925620515442756c70d8f # v2 uses: https://git.quad4.io/actions/gh-gomod-generate-sbom@efc74245d6802c8cefd925620515442756c70d8f # v2
with: with:
version: v1 version: v1
args: mod -licenses -json -output bom.json args: mod -licenses -json -output bom.json
@@ -47,8 +51,9 @@ jobs:
NODE_ENV: production NODE_ENV: production
- name: Create Release and Upload Assets - name: Create Release and Upload Assets
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1 uses: https://git.quad4.io/actions/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1
with: with:
tag_name: ${{ github.event.inputs.tag_name || github.ref_name }}
files: | files: |
software-station software-station
bom.json bom.json

View File

@@ -12,9 +12,9 @@ on:
jobs: jobs:
renovate: renovate:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: ghcr.io/renovatebot/renovate:37.440.7 container: ghcr.io/renovatebot/renovate:42.66.11
steps: steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - uses: https://git.quad4.io/actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Fetch remote configuration - name: Fetch remote configuration
run: curl -sL https://git.quad4.io/Quad4-Extra/renovate-config/raw/branch/master/config.js -o config.js run: curl -sL https://git.quad4.io/Quad4-Extra/renovate-config/raw/branch/master/config.js -o config.js
- run: renovate - run: renovate

View File

@@ -1,74 +0,0 @@
.PHONY: all build-frontend build-go build-wasm clean release run lint scan check format tidy test test-wasm dev docker-build
BINARY_NAME=software-station
FRONTEND_DIR=frontend
BUILD_DIR=build
VERIFIER_DIR=software-verifier
WASM_OUT=frontend/static/verifier
VERSION=$(shell grep '"version":' $(FRONTEND_DIR)/package.json | cut -d'"' -f4)
BUILD_DATE=$(shell date -u +'%Y-%m-%dT%H:%M:%SZ')
VCS_REF=$(shell git rev-parse --short HEAD 2>/dev/null || echo "unknown")
all: build-wasm build-frontend build-go
dev:
@echo "Starting development environment..."
@pnpm --prefix $(FRONTEND_DIR) dev & go run main.go
build-wasm:
@echo "Building WASM verifier..."
mkdir -p $(WASM_OUT)
cp "$(shell go env GOROOT)/lib/wasm/wasm_exec.js" $(WASM_OUT)/wasm_exec.js
cd $(VERIFIER_DIR) && GOOS=js GOARCH=wasm go build -o ../$(WASM_OUT)/verifier.wasm .
build-frontend: build-wasm
cd $(FRONTEND_DIR) && pnpm install && pnpm build
@echo "Injecting SRI hashes..."
go run scripts/sri-gen/main.go
build-go:
go build -o $(BINARY_NAME) main.go
release: build-frontend
CGO_ENABLED=0 go build -ldflags="-s -w" -o $(BINARY_NAME) main.go
@echo "Release build complete: $(BINARY_NAME)"
run: all
./$(BINARY_NAME)
format:
go fmt ./...
cd $(FRONTEND_DIR) && pnpm run format
lint:
go vet ./...
cd $(FRONTEND_DIR) && pnpm run lint
scan:
gosec ./...
check:
cd $(FRONTEND_DIR) && pnpm run check
tidy: format lint check
test: test-wasm
go test -v -coverpkg=./... ./...
test-wasm:
cd $(VERIFIER_DIR) && go test -v ./...
clean:
rm -rf $(FRONTEND_DIR)/build
rm -rf $(WASM_OUT)
rm -f $(BINARY_NAME)
rm -f coverage.out
docker-build:
docker build \
--build-arg VERSION=$(VERSION) \
--build-arg BUILD_DATE=$(BUILD_DATE) \
--build-arg VCS_REF=$(VCS_REF) \
-t $(BINARY_NAME):latest \
-t $(BINARY_NAME):$(VERSION) .

View File

@@ -21,7 +21,7 @@ tasks:
all: all:
desc: Build everything desc: Build everything
deps: [build-go, build-frontend] deps: [build-go]
dev: dev:
desc: Start development environment (parallel) desc: Start development environment (parallel)
@@ -77,6 +77,7 @@ tasks:
build-go: build-go:
desc: Build main Go application desc: Build main Go application
deps: [build-frontend]
sources: sources:
- "**/*.go" - "**/*.go"
- exclude: "{{.VERIFIER_DIR}}/**/*" - exclude: "{{.VERIFIER_DIR}}/**/*"

View File

@@ -1,3 +1,48 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json" "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"regexManagers": [
{
"fileMatch": ["^\\.gitea/workflows/.*\\.yml$"],
"matchStrings": [
"uses: https://git\\.quad4\\.io/actions/(?<packageName>checkout|setup-go|setup-node)@(?<currentDigest>[a-f0-9]{40}) # (?<currentValue>v[0-9]+(\\.[0-9]+)*)"
],
"depNameTemplate": "actions/{{{packageName}}}",
"datasourceTemplate": "github-tags"
},
{
"fileMatch": ["^\\.gitea/workflows/.*\\.yml$"],
"matchStrings": [
"uses: https://git\\.quad4\\.io/actions/setup-pnpm@(?<currentDigest>[a-f0-9]{40}) # (?<currentValue>v[0-9]+(\\.[0-9]+)*)"
],
"depNameTemplate": "pnpm/action-setup",
"datasourceTemplate": "github-tags"
},
{
"fileMatch": ["^\\.gitea/workflows/.*\\.yml$"],
"matchStrings": [
"uses: https://git\\.quad4\\.io/actions/setup-task@(?<currentDigest>[a-f0-9]{40}) # (?<currentValue>v[0-9]+(\\.[0-9]+)*)"
],
"depNameTemplate": "arduino/setup-task",
"datasourceTemplate": "github-tags"
},
{
"fileMatch": ["^\\.gitea/workflows/.*\\.yml$"],
"matchStrings": [
"uses: https://git\\.quad4\\.io/actions/gh-gomod-generate-sbom@(?<currentDigest>[a-f0-9]{40}) # (?<currentValue>v[0-9]+(\\.[0-9]+)*)"
],
"depNameTemplate": "CycloneDX/gh-gomod-generate-sbom",
"datasourceTemplate": "github-tags"
},
{
"fileMatch": ["^\\.gitea/workflows/.*\\.yml$"],
"matchStrings": [
"uses: https://git\\.quad4\\.io/actions/action-gh-release@(?<currentDigest>[a-f0-9]{40}) # (?<currentValue>v[0-9]+(\\.[0-9]+)*)"
],
"depNameTemplate": "softprops/action-gh-release",
"datasourceTemplate": "github-tags"
}
]
} }