Skip to content

Commit

Permalink
Bump safer-golangci-lint.yml to 1.52.2
Browse files Browse the repository at this point in the history
Bump Go to 1.20
Bump actions/setup-go to v4
Bump golangci-lint to 1.52.2
  • Loading branch information
x448 committed May 14, 2023
1 parent f0f9770 commit eb8560e
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/safer-golangci-lint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2021 Montgomery Edwards⁴⁴⁸ (github.com/x448).
# Copyright © 2021-2023 Montgomery Edwards⁴⁴⁸ (github.com/x448).
# This file is licensed under MIT License.
#
# Safer GitHub Actions Workflow for golangci-lint.
Expand Down Expand Up @@ -27,11 +27,13 @@
# 1. GOLINTERS_VERSION
# 2. GOLINTERS_TGZ_DGST
#
# Release v1.51.2 (February 19, 2023)
# - Bump golangci-lint to 1.51.2
# - Hash of golangci-lint-1.51.2-linux-amd64.tar.gz
# - SHA-256: 4de479eb9d9bc29da51aec1834e7c255b333723d38dbd56781c68e5dddc6a90b
# This SHA-256 digest matches golangci-lint-1.51.2-checksums.txt at
# Release v1.52.2 (May 14, 2023)
# - Bump Go to 1.20
# - Bump actions/setup-go to v4
# - Bump golangci-lint to 1.52.2
# - Hash of golangci-lint-1.52.2-linux-amd64.tar.gz
# - SHA-256: c9cf72d12058a131746edd409ed94ccd578fbd178899d1ed41ceae3ce5f54501
# This SHA-256 digest matches golangci-lint-1.52.2-checksums.txt at
# https://github.com/golangci/golangci-lint/releases
#
name: linters
Expand All @@ -42,15 +44,14 @@ permissions: {}
on:
workflow_dispatch:
pull_request:
types: [opened, synchronize, closed]
push:
branches: [main, master]

env:
GO_VERSION: 1.19
GOLINTERS_VERSION: 1.51.2
GO_VERSION: 1.20
GOLINTERS_VERSION: 1.52.2
GOLINTERS_ARCH: linux-amd64
GOLINTERS_TGZ_DGST: 4de479eb9d9bc29da51aec1834e7c255b333723d38dbd56781c68e5dddc6a90b
GOLINTERS_TGZ_DGST: c9cf72d12058a131746edd409ed94ccd578fbd178899d1ed41ceae3ce5f54501
GOLINTERS_TIMEOUT: 15m
OPENSSL_DGST_CMD: openssl dgst -sha256 -r
CURL_CMD: curl --proto =https --tlsv1.2 --location --silent --show-error --fail
Expand All @@ -68,7 +69,7 @@ jobs:
fetch-depth: 1

- name: Setup Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
check-latest: true
Expand Down

0 comments on commit eb8560e

Please sign in to comment.