Skip to content

deps: update to golang v1.21 #186

deps: update to golang v1.21

deps: update to golang v1.21 #186

Workflow file for this run

name: Linter
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions: read

Check failure on line 9 in .github/workflows/linter.yml

View workflow run for this annotation

GitHub Actions / Linter

Invalid workflow file

The workflow is not valid. .github/workflows/linter.yml (Line: 9, Col: 14): Unexpected value 'read'
jobs:
golangci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac #v4.0.0
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe #v4.1.0
with:
go-version-file: go.mod
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc #v3.7.0
with:
version: latest
only-new-issues: true
goreportcard:
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
steps:
- name: Run Go report card
run: |
path=$(curl -sf -X POST -F "repo=github.com/$GITHUB_REPOSITORY" https://goreportcard.com/checks | jq -r '.redirect')
echo -e "\nSee report for https://goreportcard.com${path}"