From 03e4518d2ea384fdcf6671ef85b4ab8275a287d1 Mon Sep 17 00:00:00 2001 From: Dalton Hubble Date: Wed, 22 Mar 2023 13:59:36 -0700 Subject: [PATCH] Change tests to use shared GitHub Workflow from poseidon/.github * https://github.com/poseidon/.github/pull/1 --- .github/dependabot.yaml | 3 --- .github/workflows/test.yaml | 30 ++++-------------------------- 2 files changed, 4 insertions(+), 29 deletions(-) diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml index ef9176d..b2bbbc2 100644 --- a/.github/dependabot.yaml +++ b/.github/dependabot.yaml @@ -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: diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 4cb6030..7f1b39a 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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