Skip to content

Commit 752bdbf

Browse files
committed
Change tests to use shared GitHub Workflow from poseidon/.github
* poseidon/.github#1
1 parent 8fd99ec commit 752bdbf

File tree

3 files changed

+5
-30
lines changed

3 files changed

+5
-30
lines changed

.github/dependabot.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ updates:
44
directory: "/"
55
schedule:
66
interval: daily
7-
pull-request-branch-name:
8-
separator: "-"
9-
open-pull-requests-limit: 3
107
- package-ecosystem: github-actions
118
directory: "/"
129
schedule:

.github/workflows/test.yaml

Lines changed: 4 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,8 @@
11
name: test
22
on:
33
push:
4-
branches:
5-
- main
6-
pull_request:
74
jobs:
8-
build:
9-
name: go
10-
runs-on: ubuntu-latest
11-
strategy:
12-
fail-fast: false
13-
matrix:
14-
go: ['1.18', '1.19']
15-
steps:
16-
- name: setup Go
17-
uses: actions/setup-go@v3
18-
with:
19-
go-version: ${{matrix.go}}
20-
21-
- name: setup Terraform
22-
uses: hashicorp/setup-terraform@v2
23-
with:
24-
terraform_wrapper: false
25-
26-
- name: checkout
27-
uses: actions/checkout@v3
28-
29-
- name: test
30-
run: make
5+
go:
6+
uses: poseidon/.github/.github/workflows/golang-library.yaml@main
7+
with:
8+
setup_terraform: true

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/poseidon/terraform-provider-ct
22

3-
go 1.18
3+
go 1.19
44

55
require (
66
github.com/coreos/butane v0.17.0

0 commit comments

Comments
 (0)