Skip to content

Commit

Permalink
Merge pull request #67 from hashicorp/c-replace-circleci
Browse files Browse the repository at this point in the history
Replace CircleCI with GitHub actions
  • Loading branch information
dbanck committed Feb 8, 2023
2 parents e6b203c + b6ad9d4 commit aa0e501
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 37 deletions.
36 changes: 0 additions & 36 deletions .circleci/config.yml

This file was deleted.

41 changes: 41 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: test

on:
pull_request:
branches:
- main
push:
branches:
- main

env:
GOPROXY: https://proxy.golang.org/

jobs:
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
go:
- 1.16
- 1.17
- 1.18
- 1.19
steps:
- name: Checkout
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # https://github.com/actions/checkout/releases/tag/v3.3.0
- name: Set up Go
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # https://github.com/actions/setup-go/releases/tag/v3.5.0
with:
go-version: ${{ matrix.go }}
- name: Go mod download
run: go mod download -x
- name: Go mod verify
run: go mod verify
- name: Run tests
run: go test -v ./...
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# terraform-json

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

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

0 comments on commit aa0e501

Please sign in to comment.