Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

revert: pr 2286 #2317

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .editorconfig

This file was deleted.

12 changes: 0 additions & 12 deletions .gitattributes

This file was deleted.

35 changes: 12 additions & 23 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,17 @@
# Adapted from https://github.com/golangci/golangci-lint-action/blob/b56f6f529003f1c81d4d759be6bd5f10bf9a0fa0/README.md#how-to-use

name: golangci-lint
on:
push:
tags:
- v*
branches:
- master
- main
pull_request:
permissions:
contents: read
push:
branches:
- master
- main
pull_request:
name: Linter
jobs:
golangci:
name: lint
Golint:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
- name: Fetch Repository
uses: actions/checkout@v3
- name: Run Golint
uses: reviewdog/action-golangci-lint@v2
with:
# NOTE: Keep this in sync with the version from go.mod
go-version: 1.19
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
# NOTE: Keep this in sync with the version from .golangci.yml
version: v1.50.1
golangci_lint_flags: "--tests=false"
17 changes: 17 additions & 0 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
on:
push:
branches:
- master
- main
pull_request:
name: Security
jobs:
Gosec:
runs-on: ubuntu-latest
steps:
- name: Fetch Repository
uses: actions/checkout@v3
- name: Run Gosec
uses: securego/gosec@master
with:
args: -exclude-dir=internal/*/ ./...
258 changes: 0 additions & 258 deletions .golangci.yml

This file was deleted.

Loading