Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Commit

Permalink
chore: synced file(s) with honestbank/.github
Browse files Browse the repository at this point in the history
  • Loading branch information
honestbank-bot committed Feb 8, 2023
1 parent 7e8233e commit 4ee8b52
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 31 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: ["1.16"]
go: ["1.18"]
steps:
- name: Set up Golang
uses: actions/setup-go@v2
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
- name: Set up Golang
uses: actions/setup-go@v2
with:
go-version: "1.16"
go-version: "1.18"
id: go
- uses: actions/setup-node@v2
with:
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/semantic-pr.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: "Semantic Pull Request"
# yamllint disable rule:line-length
# Use template from https://github.com/honestbank/workflows/tree/main/examples/repository-workflows
---
name: "repository-semantic-pr"
permissions: read-all

on:
on: # yamllint disable-line rule:truthy
pull_request:
types:
- opened
- edited
- synchronize

jobs:
main:
name: Semantic Pull Request
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v4
name: Semantic Pull Request
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
repository-semantic-pr:
name: repository-semantic-pr
uses: honestbank/workflows/.github/workflows/shared-semantic-pr.yaml@main
secrets: inherit
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

# NUCLEAR OPTION - EXCLUDES ALL JETBRAINS IDE FILES
**/.idea/**
.idea/**

# User-specific stuff
.idea/**/workspace.xml
Expand Down
24 changes: 8 additions & 16 deletions .golangci.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,38 +12,30 @@
},
"linters": {
"enable": [
"deadcode",
"errcheck",
"gosimple",
"govet",
"ineffassign",
"staticcheck",
"structcheck",
"typecheck",
"unused",
"varcheck",
"gofmt",
"goimports",
"nestif",
"ifshort",
"asciicheck",
"errcheck",
"exhaustive",
"exportloopref",
"forbidigo",
"gocyclo",
"gofmt",
"gofmt",
"goimports",
"ifshort",
"gosimple",
"govet",
"ineffassign",
"makezero",
"misspell",
"nakedret",
"nestif",
"nilerr",
"nlreturn",
"nolintlint",
"staticcheck",
"testpackage",
"typecheck",
"unconvert",
"wastedassign",
"unused",
"whitespace"
]
}
Expand Down
13 changes: 10 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,25 @@

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
rev: v4.4.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-yaml
- id: detect-aws-credentials
args: [ '--allow-missing-credentials' ]
- repo: https://github.com/golangci/golangci-lint
rev: v1.45.2
rev: v1.50.1
hooks:
- id: golangci-lint
- repo: https://github.com/TekWizely/pre-commit-golang
rev: v0.8.2
rev: v1.0.0-rc.1
hooks:
- id: go-imports
- repo: https://github.com/gitguardian/ggshield
rev: v1.14.2
hooks:
- id: ggshield
language: python
stages: [commit]
args: [ 'secret', 'scan', 'pre-commit' ]

0 comments on commit 4ee8b52

Please sign in to comment.