build(deps): bump the telemetry-dependencies group across 1 directory with 6 updates #214
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: Lint | |
on: | |
pull_request: | |
branches: [ master ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
# environment variables shared between build steps | |
# do not include sensitive credentials and tokens here, instead pass them | |
# directly to tools that need them to limit the blast radius in case one of them | |
# becomes compromised and leaks credentials to external sites. | |
# required by Makefile | |
UNIX_SHELL_ON_WINDOWS: true | |
# set (to any value other than false) to trigger random unicode filenames testing (logs may be difficult to read) | |
ENABLE_UNICODE_FILENAMES: ${{ secrets.ENABLE_UNICODE_FILENAMES }} | |
# set (to any value other than false) to trigger very long filenames testing | |
ENABLE_LONG_FILENAMES: ${{ secrets.ENABLE_LONG_FILENAMES }} | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
name: Lint | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
with: | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version-file: 'go.mod' | |
check-latest: true | |
id: go | |
if: ${{ !contains(matrix.os, 'ARMHF') }} | |
- id: govulncheck | |
uses: golang/govulncheck-action@dd0578b371c987f96d1185abb54344b44352bd58 # v1.0.3 | |
with: | |
repo-checkout: false | |
cache: false | |
- name: Lint | |
run: make lint | |
- name: Check Locks | |
run: make check-locks |