Skip to content

Commit

Permalink
Better
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe committed Oct 16, 2023
1 parent b185129 commit 2d1dff2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ on:
jobs:
vulnerability-scan:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./impl
steps:
- uses: actions/checkout@v3

Expand All @@ -23,14 +26,15 @@ jobs:
go-version: 1.21.3

- name: Install Mage
working-directory: ./impl
run: go install github.com/magefile/mage

- name: Check Vulnerabilities
working-directory: ./impl
run: mage -v vuln
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./impl
steps:
- uses: actions/checkout@v3

Expand All @@ -40,13 +44,10 @@ jobs:
go-version: 1.21.3

- name: Install Mage
working-directory: ./impl
run: go install github.com/magefile/mage

- name: Build
working-directory: ./impl
run: mage build

- name: Test
working-directory: ./impl
run: mage citest
3 changes: 3 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./impl
permissions:
actions: read
contents: read
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
golangci:
name: lint
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./impl
steps:
- uses: actions/setup-go@v3
with:
Expand Down

0 comments on commit 2d1dff2

Please sign in to comment.