Fix: Stop ignoring go.sum so CI can build #2
Workflow file for this run
This file contains hidden or 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: Build and Release | |
| # Trigger this workflow only when a tag starting with 'v' is pushed | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| permissions: | |
| contents: write | |
| jobs: | |
| release: | |
| name: Build and Release | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v4 | |
| with: | |
| go-version: '1.25' # Check your go.mod for the correct version | |
| - name: Build and Package | |
| # This runs the target we just created in your Makefile | |
| run: make build | |
| - name: Create Release | |
| uses: softprops/action-gh-release@v1 | |
| with: | |
| # This tells GitHub to pick up any tar.gz file in the bin folder | |
| files: bin/*.tar.gz | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |