fix tpyo
Some checks failed
🧪 ✨ Unit Tests Workflow / 🔍 🐹 Go Tests (push) Failing after 6m19s
🧪 ✨ Unit Tests Workflow / 🧪 📜 JavaScript Tests (push) Successful in 8m22s
🧪 ✨ Unit Tests Workflow / 🧪 🐹 GolangCI-Lint (push) Failing after 9m52s

This commit is contained in:
2025-06-10 08:14:17 -04:00
parent e484aa7e31
commit d1dc5897c5
15 changed files with 158 additions and 34 deletions

View File

@@ -38,6 +38,32 @@ jobs:
cd frontend
npm run build
golangci-lint:
name: 🧪 🐹 GolangCI-Lint
runs-on: ubuntu-latest
steps:
- name: 🛡️ 🔒 Add Siteworx CA Certificates
run: |
apt update && apt install -yq ca-certificates curl
curl -Ls https://siteworxpro.com/hosted/Siteworx+Root+CA.pem -o /usr/local/share/ca-certificates/sw.crt
update-ca-certificates
- name: 📖 🔍 Checkout Repository Code
uses: actions/checkout@v2
with:
fetch-depth: 1
- name: ⚙️ 🐹 Set up Go Environment
uses: actions/setup-go@v2
with:
go-version: '1.24.3'
cache: true
- name: 📦 📥 Install GolangCI-Lint
run: |
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
- name: ✅ 🧪 Run GolangCI-Lint
run: |
cd backend
golangci-lint run --timeout 5m --config .golangci.yml
test-go:
env:
GOPRIVATE: 'git.siteworxpro.com'