Skip to content

Commit aa0e501

Browse files
authored
Merge pull request #67 from hashicorp/c-replace-circleci
Replace CircleCI with GitHub actions
2 parents e6b203c + b6ad9d4 commit aa0e501

File tree

3 files changed

+41
-37
lines changed

3 files changed

+41
-37
lines changed

.circleci/config.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: test
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
push:
8+
branches:
9+
- main
10+
11+
env:
12+
GOPROXY: https://proxy.golang.org/
13+
14+
jobs:
15+
test:
16+
runs-on: ${{ matrix.os }}
17+
timeout-minutes: 10
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
os:
22+
- ubuntu-latest
23+
- macos-latest
24+
go:
25+
- 1.16
26+
- 1.17
27+
- 1.18
28+
- 1.19
29+
steps:
30+
- name: Checkout
31+
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # https://github.com/actions/checkout/releases/tag/v3.3.0
32+
- name: Set up Go
33+
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # https://github.com/actions/setup-go/releases/tag/v3.5.0
34+
with:
35+
go-version: ${{ matrix.go }}
36+
- name: Go mod download
37+
run: go mod download -x
38+
- name: Go mod verify
39+
run: go mod verify
40+
- name: Run tests
41+
run: go test -v ./...

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# terraform-json
22

3-
[![CircleCI](https://circleci.com/gh/hashicorp/terraform-json/tree/main.svg?style=svg)](https://circleci.com/gh/hashicorp/terraform-json/tree/main)
43
[![GoDoc](https://godoc.org/github.com/hashicorp/terraform-json?status.svg)](https://godoc.org/github.com/hashicorp/terraform-json)
54

65
This repository houses data types designed to help parse the data produced by

0 commit comments

Comments
 (0)