Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7714d5dc33
|
||
|
|
a8389ef7d8
|
||
|
|
9d01596648
|
||
|
|
a8a561d32b
|
@@ -18,14 +18,14 @@ jobs:
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v6
|
||||
with:
|
||||
go-version: '1.25.4'
|
||||
go-version: '1.25.3'
|
||||
|
||||
- name: Create version
|
||||
id: version
|
||||
run: |
|
||||
echo "Creating version"
|
||||
|
||||
VERSION="0.0.9"
|
||||
VERSION="0.0.8"
|
||||
PROJECT_COMMIT_HASH=$(git rev-parse HEAD | cut -c 1-10)
|
||||
BRANCH_REF="${{ gitea.ref }}"
|
||||
BRANCH_NAME=$(echo "$BRANCH_REF" | cut -d '/' -f 3)
|
||||
|
||||
@@ -11,13 +11,13 @@ jobs:
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v6
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: '1.25.4'
|
||||
go-version: '1.25.3'
|
||||
- name: Configure Git for SSH
|
||||
run: |
|
||||
git config --global url."git@${{ secrets.GIT_HOST_ROOT }}:".insteadOf "https://${{ secrets.GIT_HOST_ROOT }}/"
|
||||
go env -w GOPRIVATE=${{ secrets.GIT_HOST_ROOT }}/phoenix/*
|
||||
git config --global url."git@git.kundeng.us:".insteadOf "https://git.kundeng.us/"
|
||||
go env -w GOPRIVATE=git.kundeng.us/phoenix/*
|
||||
|
||||
- name: Download dependencies
|
||||
run: |
|
||||
@@ -25,3 +25,9 @@ jobs:
|
||||
|
||||
- name: Run tests
|
||||
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,6 +1,6 @@
|
||||
module git.kundeng.us/phoenix/textsender-models
|
||||
|
||||
go 1.25.4
|
||||
go 1.25.3
|
||||
|
||||
require (
|
||||
github.com/golang-jwt/jwt/v5 v5.3.0
|
||||
|
||||
@@ -8,7 +8,6 @@ import (
|
||||
|
||||
type ServiceUser struct {
|
||||
Id uuid.UUID `json:"id"`
|
||||
Username string `json:"username,omitempty"`
|
||||
Passphrase string `json:"passphrase,omitempty"`
|
||||
Created *time.Time `json:"date_created,omitempty"`
|
||||
}
|
||||
Reference in New Issue
Block a user