maybe fix setup-go action
All checks were successful
/ deploy (push) Successful in 38s

This commit is contained in:
ari melody 2025-10-22 01:52:10 +01:00
parent 75f96ddc8c
commit c432f8e321
Signed by: ari
GPG key ID: CF99829C92678188
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
on:
push:
branches:
- dev
env:
EXEC: arimelody-web
jobs:
deploy:
runs-on: docker
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '^1.25.1'
- name: Run tests
run: go test -v ./model
- name: Build binary
run: make build
- name: Bundle tarball
run: make bundle
- name: Set up SSH keys
uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Copy to production server
run: echo "we'll just pretend it works lol"

View file

@ -15,6 +15,8 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v4 uses: actions/setup-go@v4
with:
go-version: '^1.25.1'
- name: Run tests - name: Run tests
run: go test -v ./model run: go test -v ./model