Skip to content

Bug Fix : Release v2.3.3 (#270) #52

Bug Fix : Release v2.3.3 (#270)

Bug Fix : Release v2.3.3 (#270) #52

Workflow file for this run

# .github/workflows/release.yaml
name: release
on:
push:
tags:
- '*'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.24.x'
- name: Cache development tools
uses: actions/cache@v4
with:
path: .bin
key: ${{ runner.os }}-tools-${{ hashFiles('Makefile') }}
restore-keys: |
${{ runner.os }}-tools-
- name: Run CI pipeline
run: make test-coverage
- name: Upload coverage HTML report
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: coverage.html
retention-days: 30
release:
runs-on: ubuntu-latest
needs: [ test ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Unshallow
run: git fetch --prune --unshallow
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.24.x'
- name: Cache development tools
uses: actions/cache@v4
with:
path: .bin
key: ${{ runner.os }}-tools-${{ hashFiles('Makefile') }}
restore-keys: |
${{ runner.os }}-tools-
- name: Create release
run: make release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}