Skip to content

Commit

Permalink
Adding yml
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinbrown085 committed Feb 19, 2024
1 parent 7285176 commit 1fc46b2
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 108 deletions.
108 changes: 0 additions & 108 deletions .github/workflows/ci.yaml

This file was deleted.

17 changes: 17 additions & 0 deletions .github/workflows/gosec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Run Gosec
on:
pull_request:
branches-ignore:
- '!main' # excludes main
jobs:
tests:
runs-on: ubuntu-latest
env:
GO111MODULE: on
steps:
- name: Checkout Source
uses: actions/checkout@v2
- name: Run Gosec Security Scanner
uses: securego/gosec@master
with:
args: -exclude=G307 ./...
12 changes: 12 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: lint

on:
pull_request:
types: [synchronize, opened, reopened, edited]

jobs:
lint:
uses: Banno/go-shared-files/.github/workflows/lint.yml@mirai-v1
secrets: inherit
with:
go-version: 1.19
File renamed without changes.
12 changes: 12 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Test

on:
pull_request:
types: [synchronize, opened, reopened, edited]

jobs:
test:
uses: Banno/go-shared-files/.github/workflows/test.yml@mirai-v1
secrets: inherit
with:
go-version: 1.19

0 comments on commit 1fc46b2

Please sign in to comment.