mirror of
https://github.com/imjasonh/kontain.me
synced 2026-07-07 00:32:28 +00:00
streamline GHA
Signed-off-by: Jason Hall <jason@chainguard.dev>
This commit is contained in:
parent
8e999f95f4
commit
edc2261325
2 changed files with 10 additions and 8 deletions
13
.github/workflows/ci.yaml
vendored
13
.github/workflows/ci.yaml
vendored
|
|
@ -12,11 +12,14 @@ jobs:
|
|||
name: CI
|
||||
runs-on: ['ubuntu-latest']
|
||||
steps:
|
||||
- uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: '1.21.x'
|
||||
- uses: actions/checkout@v3
|
||||
- run: go build ./...
|
||||
- uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version-file: 'go.mod'
|
||||
- uses: hashicorp/setup-terraform@v2
|
||||
- run: terraform fmt -check -recursive
|
||||
- uses: imjasonh/setup-crane@v0.3
|
||||
- uses: hashicorp/setup-terraform@v2
|
||||
- run: |
|
||||
go build ./...
|
||||
terraform fmt -check -recursive
|
||||
|
||||
|
|
|
|||
5
.github/workflows/deploy.yaml
vendored
5
.github/workflows/deploy.yaml
vendored
|
|
@ -20,10 +20,9 @@ jobs:
|
|||
TF_VAR_project_id: kontaindotme
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- uses: actions/setup-go@v4
|
||||
- uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: '1.21.x'
|
||||
go-version-file: 'go.mod'
|
||||
- uses: hashicorp/setup-terraform@v2
|
||||
- uses: imjasonh/setup-crane@v0.3
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue