Skip to content

Merge pull request #81 from aquasecurity/saas-25129-add-gitlab-jenkins #228

Merge pull request #81 from aquasecurity/saas-25129-add-gitlab-jenkins

Merge pull request #81 from aquasecurity/saas-25129-add-gitlab-jenkins #228

Workflow file for this run

name: golangci-lint
on:
push:
tags:
- v*
branches:
- master
pull_request:
paths-ignore:
- '*.md'
permissions:
contents: read
pull-requests: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Configure git url
run: |
git config --global url.https://${{ secrets.ARGON_GH_TOKEN }}@github.com/.insteadOf https://github.com/
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
env:
GOPRIVATE: github.com/argonsecurity/*
with:
args: --timeout=5m
- name: Remove git url
run: |
git config --global url.https://github.com/.insteadOf https://${{ secrets.ARGON_GH_TOKEN }}@github.com/