Skip to content

Commit

Permalink
Refactor build workflow
Browse files Browse the repository at this point in the history
- Use reusable workflows for linting, testing, and .
- Rename the workflow file to .yaml to be consistent with other repos.
  • Loading branch information
webbnh committed Jun 10, 2024
1 parent 548d77d commit 2b554e8
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 112 deletions.
27 changes: 0 additions & 27 deletions .github/scripts/gogenerate.sh

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Build
on:
push:
branches:
- main
tags:
- v*
pull_request:
jobs:
lint_and_test:
name: lint and test
uses: arcalot/arcaflow-reusable-workflows/.github/workflows/go_lint_and_test.yaml@main
with:
go_version: ${{ vars.ARCALOT_GO_VERSION }}
generate:
name: go generate
uses: arcalot/arcaflow-reusable-workflows/.github/workflows/go_generate.yaml@main
with:
go_version: ${{ vars.ARCALOT_GO_VERSION }}
85 changes: 0 additions & 85 deletions .github/workflows/build.yml

This file was deleted.

0 comments on commit 2b554e8

Please sign in to comment.