deps: update codecov/codecov-action action to v5 (#915) #1492
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: Build | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
env: | |
GOTOOLCHAIN: local | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "1.23" | |
- name: Download tools | |
run: go -C ./tools mod download | |
- name: Run GoReleaser | |
uses: goreleaser/goreleaser-action@v6 | |
with: | |
version: 2.x | |
args: release --clean --snapshot --skip=sign | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Preview Binaries | |
path: dist/hcloud-*/hcloud |