Change tests to use shared GitHub Workflow from poseidon/.github

* https://github.com/poseidon/.github/pull/1
This commit is contained in:
Dalton Hubble
2023-03-22 13:59:36 -07:00
parent 9494a6972f
commit 03e4518d2e
2 changed files with 4 additions and 29 deletions

View File

@@ -4,9 +4,6 @@ updates:
directory: "/"
schedule:
interval: daily
pull-request-branch-name:
separator: "-"
open-pull-requests-limit: 3
- package-ecosystem: github-actions
directory: "/"
schedule:

View File

@@ -1,30 +1,8 @@
name: test
on:
push:
branches:
- main
pull_request:
jobs:
build:
name: go
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go: ['1.18', '1.19']
steps:
- name: setup Go
uses: actions/setup-go@v3
with:
go-version: ${{matrix.go}}
- name: setup Terraform
uses: hashicorp/setup-terraform@v2
with:
terraform_wrapper: false
- name: checkout
uses: actions/checkout@v3
- name: test
run: make
go:
uses: poseidon/.github/.github/workflows/golang-library.yaml@main
with:
setup_terraform: true