Updated workflow

This commit is contained in:
phoenix
2025-10-31 16:55:38 -04:00
parent a4317b4b22
commit aedaaa1de7
2 changed files with 11 additions and 2 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ jobs:
run: | run: |
echo "Creating version" echo "Creating version"
VERSION="0.0.1" VERSION="0.0.2"
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 -1
View File
@@ -16,7 +16,16 @@ jobs:
go-version: '1.25.3' go-version: '1.25.3'
- name: Download dependencies - name: Download dependencies
run: go mod download run: |
mkdir -p ~/.ssh
echo "${{ secrets.MYREPO_TOKEN }}" > ~/.ssh/textsender_models_deploy_key
chmod 600 ~/.ssh/textsender_models_deploy_key
ssh-keyscan ${{ vars.MYHOST }} >> ~/.ssh/known_hosts
eval $(ssh-agent -s)
ssh-add -v ~/.ssh/textsender_models_deploy_key
go mod download
- 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