Skip to content

Update gopkg.in/yaml.v3 for CVE fix #20

Update gopkg.in/yaml.v3 for CVE fix

Update gopkg.in/yaml.v3 for CVE fix #20

Workflow file for this run

name: power-logger
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.22
uses: actions/setup-go@v1
with:
go-version: 1.22
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Run golangci-lint
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/v1.56.2/install.sh | sh -s -- -b $(go env GOPATH)/bin
$(go env GOPATH)/bin/golangci-lint run -v
- name: Run tests
run: make test
- name: Build-All
run: make build-all
- name: Archive binaries
uses: actions/upload-artifact@v1
with:
name: bin
path: bin