This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
chore(deps): bump golang.org/x/crypto from 0.1.0 to 0.17.0 #128
Workflow file for this run
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: golangci-lint | |
on: | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
golangci: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Retrieve go asdf version | |
run: | | |
echo "GO_VERSION=$(cat .tool-versions | grep 'golang ' | awk '{print $2}')" >> $GITHUB_OUTPUT | |
id: go-version | |
- name: Retrieve golangci asdf version | |
run: | | |
echo "GOLANGCI_VERSION=$(cat .tool-versions | grep golangci-lint | awk '{print $2}')" >> $GITHUB_OUTPUT | |
id: golangci-version | |
# Faster than using asdf thanks to caching, but use the asdf specified version | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ steps.go-version.outputs.GO_VERSION }} | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v${{ steps.golangci-version.outputs.GOLANGCI_VERSION }} |