Skip to content

Commit

Permalink
Migrating Travis CI to GH Actions (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdecks authored Sep 28, 2021
1 parent 9edbaee commit 579bb03
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 25 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/actions.yml

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
protoc-version: ['3.5.0', '3.6.0', '3.17.0']
env:
GOPATH: ${{ github.workspace }}
GOBIN: ${{ github.workspace }}/bin
defaults:
run:
working-directory: ${{ env.GOPATH }}/src/github.com/lyft/protoc-gen-star
name: protoc version ${{ matrix.protoc-version }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
path: ${{ env.GOPATH }}/src/github.com/lyft/protoc-gen-star
- name: Set Up Go
uses: actions/setup-go@v2
with:
go-version: '1.14.6'
- run: mkdir -p $GOPATH/bin
- run: wget "https://github.com/protocolbuffers/protobuf/releases/download/v${{ matrix.protoc-version }}/protoc-${{ matrix.protoc-version }}-linux-x86_64.zip" -O /tmp/protoc.zip
- run: unzip /tmp/protoc.zip -d /tmp
- run: sudo mv /tmp/bin/protoc /usr/local/bin/protoc
- run: sudo mv /tmp/include/google /usr/local/include/google
- name: Generate Testdata
run: make testdata
- name: Lint
run: make lint tests
19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

0 comments on commit 579bb03

Please sign in to comment.