Skip to content

Commit

Permalink
Merge pull request #79 from awilkins/github-actions
Browse files Browse the repository at this point in the history
Replace Travis build with GitHub Actions
  • Loading branch information
juliosueiras authored Jun 9, 2020
2 parents bc838af + c8b2d67 commit d13a205
Show file tree
Hide file tree
Showing 35 changed files with 171 additions and 6,833 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release

on:
push:
tags:
- '*'

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Unshallow
run: git fetch --prune --unshallow

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.14

- name: Release
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v9
- run: nix-build
- run: nix-build
26 changes: 0 additions & 26 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Release can be found [here](https://github.com/juliosueiras/terraform-lsp/releas

### Requirement

it will need Go 1.12+
it will need Go 1.14+

### Native

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/juliosueiras/terraform-lsp

go 1.12
go 1.14

require (
github.com/creachadair/jrpc2 v0.4.2
Expand Down

This file was deleted.

Loading

0 comments on commit d13a205

Please sign in to comment.