Compare commits

..
Author SHA1 Message Date
phoenix b1ceb74233 Added Username field to ServiceUser 2025-11-20 13:19:21 -05:00
phoenix 7714d5dc33 Updated workflow 2025-11-20 12:23:34 -05:00
phoenix a8389ef7d8 Code formatting 2025-11-20 12:22:51 -05:00
phoenix 9d01596648 Added omitempty tag 2025-11-20 12:22:16 -05:00
phoenix a8a561d32b Added service user 2025-11-20 12:20:42 -05:00
12 changed files with 13 additions and 7 deletions

No files matched your search

+2 -2
View File
@@ -18,14 +18,14 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v6 uses: actions/setup-go@v6
with: with:
go-version: '1.25.4' go-version: '1.25.3'
- name: Create version - name: Create version
id: version id: version
run: | run: |
echo "Creating version" echo "Creating version"
VERSION="0.0.10" VERSION="0.0.8"
PROJECT_COMMIT_HASH=$(git rev-parse HEAD | cut -c 1-10) PROJECT_COMMIT_HASH=$(git rev-parse HEAD | cut -c 1-10)
BRANCH_REF="${{ gitea.ref }}" BRANCH_REF="${{ gitea.ref }}"
BRANCH_NAME=$(echo "$BRANCH_REF" | cut -d '/' -f 3) BRANCH_NAME=$(echo "$BRANCH_REF" | cut -d '/' -f 3)
+10 -4
View File
@@ -11,13 +11,13 @@ jobs:
uses: actions/checkout@v5 uses: actions/checkout@v5
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v6 uses: actions/setup-go@v4
with: with:
go-version: '1.25.4' go-version: '1.25.3'
- name: Configure Git for SSH - name: Configure Git for SSH
run: | run: |
git config --global url."git@${{ secrets.GIT_HOST_ROOT }}:".insteadOf "https://${{ secrets.GIT_HOST_ROOT }}/" git config --global url."git@git.kundeng.us:".insteadOf "https://git.kundeng.us/"
go env -w GOPRIVATE=${{ secrets.GIT_HOST_ROOT }}/phoenix/* go env -w GOPRIVATE=git.kundeng.us/phoenix/*
- name: Download dependencies - name: Download dependencies
run: | run: |
@@ -25,3 +25,9 @@ jobs:
- name: Run tests - name: Run tests
run: go test -v ./... # Runs all tests in the project run: go test -v ./... # Runs all tests in the project
- name: Run linter
uses: https://github.com/golangci/golangci-lint-action@v8
with:
go-version: '1.25.3'
version: latest
+1 -1
View File
@@ -1,6 +1,6 @@
module git.kundeng.us/phoenix/textsender-models module git.kundeng.us/phoenix/textsender-models
go 1.25.4 go 1.25.3
require ( require (
github.com/golang-jwt/jwt/v5 v5.3.0 github.com/golang-jwt/jwt/v5 v5.3.0
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.