Skip to content

Merge branch 'RA-8279_improve_application_visibility_timing_logs' int… #76

Merge branch 'RA-8279_improve_application_visibility_timing_logs' int…

Merge branch 'RA-8279_improve_application_visibility_timing_logs' int… #76

Workflow file for this run

name: golangci-lint
on:
push:
branches: [ "master", "RA-8661_apply_updates_from_google" ]
pull_request:
branches: [ "master", "RA-8661_apply_updates_from_google" ]
permissions:
contents: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
with:
go-version-file: go.mod
- name: Generate token
id: generate_token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.CT_APP_ID }}
private-key: ${{ secrets.CT_APP_PRIVATE_KEY }}
owner: digicert
repositories: ctutils
- name: Authenticate with private ctutils
run: |
git config --global url."https://x-access-token:${{ steps.generate_token.outputs.token }}@github.com/".insteadOf "https://github.com/"
- name: golangci-lint
env:
GOPRIVATE: github.com/digicert/ctutils
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
with:
version: v2.6.0
args: --timeout=8m