Skip to content

Commit 7e852db

Browse files
authored
ci: Switch from Travis to GitHub Actions (#717)
- The Travis CI YAML specified Ubuntu Trusty as a runner OS, which is very end-of-life, so I switched those checks to GitHub Actions for consistency with the other jobs here (acceptance tests, etc). - You can see a test workflow run at https://github.com/issyl0/terraform-provider-github/runs/2024800600. - I didn't know if we wanted to do matrix builds to test multiple versions of Go, but that can be a goal for the future if we do. The development instructions for this provider still say Go 1.13.
1 parent cde16c6 commit 7e852db

File tree

2 files changed

+18
-29
lines changed

2 files changed

+18
-29
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: GitHub Actions CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
ci:
7+
runs-on: ubuntu-latest
8+
env:
9+
GOFLAGS: "-mod=vendor"
10+
steps:
11+
- uses: actions/checkout@v2
12+
- uses: actions/setup-go@v2
13+
with:
14+
go-version: '1.13'
15+
- run: make tools
16+
- run: make lint
17+
- run: make test
18+
- run: make website-lint

.travis.yml

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

0 commit comments

Comments
 (0)