chore(deps): bump github.com/goccy/go-yaml from 1.12.0 to 1.13.4 #18
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: Go | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Initialize submodules | |
run: git submodule update --init --recursive | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22.x | |
- name: Download dependencies | |
run: go mod download | |
- name: Run unit tests | |
run: make test | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22.x | |
- name: Read golangci-lint version from .golangci.version | |
id: golangci-version | |
run: echo "GOLANGCI_VERSION=$(cat .golangci.version)" > $GITHUB_OUTPUT | |
- uses: golangci/golangci-lint-action@v6 | |
name: Install and run golangci-lint | |
with: | |
version: v${{ steps.golangci-version.outputs.GOLANGCI_VERSION }} | |
args: -h | |
- run: make lint | |
name: Lint |