fix: reactivate release action and fix cache on it #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Go Test on PR to Main | |
on: | |
pull_request: | |
branches: | |
- main | |
- production | |
push: | |
branches: | |
- main | |
- production | |
workflow_dispatch: | |
jobs: | |
go-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.22 | |
- name: Run tests | |
run: go test ./... |