Skip to content

Fix hour cell links & add sticky headers for Recent detections #532

Fix hour cell links & add sticky headers for Recent detections

Fix hour cell links & add sticky headers for Recent detections #532

Workflow file for this run

name: golangci-lint
on:
push:
branches:
- main
pull_request:
workflow_call: # This is used when the workflow is called from another workflow (e.g. docker-build.yml)
permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
#pull-requests: read
jobs:
golangci:
name: lint
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- run: go version
- name: Install dependencies
run: make check-tensorflow
- name: Set environment variables for CGO
run: |
echo "CGO_ENABLED=1" >> $GITHUB_ENV
echo "CGO_CFLAGS=-I $HOME/src/tensorflow" >> $GITHUB_ENV
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
# Require: The version of golangci-lint to use.
# When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version.
# When `install-mode` is `goinstall` the value can be v1.2.3, `latest`, or the hash of a commit.
version: v1.61