Skip to content

ci: bump actions/checkout from 4.1.7 to 4.2.0 (#3) #20

ci: bump actions/checkout from 4.1.7 to 4.2.0 (#3)

ci: bump actions/checkout from 4.1.7 to 4.2.0 (#3) #20

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5
with:
go-version: ">=1.20.0"
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...
snapshot:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5
with:
go-version: ">=1.20.0"
- name: Create snapshot release
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6
with:
distribution: goreleaser
version: "~> v2"
args: release --snapshot --clean