Skip to content

build(deps): bump actions/setup-go from 6.0.0 to 6.1.0 (#429) #1166

build(deps): bump actions/setup-go from 6.0.0 to 6.1.0 (#429)

build(deps): bump actions/setup-go from 6.0.0 to 6.1.0 (#429) #1166

Workflow file for this run

name: build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
permissions:
contents: read
jobs:
ci:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
with:
go-version: '1.25'
check-latest: true
- name: Build
run: make ci
- name: Upload coverage
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
with:
name: coverage-${{ matrix.os }}
path: coverage.*
- run: go tool goreleaser release --clean --snapshot
if: ${{ runner.os == 'Linux' }}
- name: Upload dist
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
with:
name: dist-${{ matrix.os }}
path: dist
- name: Upload coverage to Codecov
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
with:
fail_ci_if_error: true
files: ./coverage.out
token: ${{ secrets.CODECOV_TOKEN }}