Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Bump gopkg.in/yaml.v3 from 3.0.0 to 3.0.1 #33

Bump gopkg.in/yaml.v3 from 3.0.0 to 3.0.1

Bump gopkg.in/yaml.v3 from 3.0.0 to 3.0.1 #33

Workflow file for this run

name: PR
on:
pull_request:
branches:
- main
env:
GOVERSION: "1.21"
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GOVERSION }}
- uses: golangci/golangci-lint-action@v6
test:
name: Test
needs: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GOVERSION }}
- uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: ${{ runner.os }}-go-
- run: make test
- uses: creekorful/[email protected]
build:
name: Build
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GOVERSION }}
- uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: ${{ runner.os }}-go-
- uses: goreleaser/goreleaser-action@v6
with:
args: build --snapshot