Skip to content

Commit

Permalink
build: cleanup build.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Phil Adams <[email protected]>
  • Loading branch information
padamstx committed Jan 7, 2025
1 parent 4fb4911 commit 14abc13
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,15 @@ jobs:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
name: Detect-Secrets
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.12']

steps:
- name: Trigger info
run: |
echo "Build triggered by event: " ${{ github.event_name }}
echo " git ref: " ${{ github.ref }}
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Python v${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
python-version: 3.12

- name: Install detect-secrets
run: |
Expand Down Expand Up @@ -69,17 +61,13 @@ jobs:
golangci-lint version
go install golang.org/x/tools/cmd/goimports@latest
- name: Build/Test Project
- name: Build & Test
run: make all

create_release:
publish-release:
needs: build
# Only run this job on the main branch and only for our min version of Go.
if: "github.ref_name == 'main' && github.event_name != 'pull_request'"
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.21']

steps:
- name: Checkout repository
Expand Down

0 comments on commit 14abc13

Please sign in to comment.