Skip to content

Commit

Permalink
Move ci to gha (#37)
Browse files Browse the repository at this point in the history
* add bazelisk

* remove unused legacy docs gen stuff

* add gha workflow

* cleanup any remaining travis stuff
  • Loading branch information
SrodriguezO authored Jan 14, 2021
1 parent f7d48af commit 7482a70
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 63 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions .bazelversion
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bazelbuild/3.3.0
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI
on:
pull_request:
push:
branches:
- master
jobs:
build-and-test:
runs-on: ${{ matrix.os }}
env:
USE_BAZEL_VERSION: ${{ matrix.bazel_version }}
strategy:
matrix:
os: [ubuntu-18.04, macos-10.15]
bazel_version: [bazelbuild/3.2.0, bazelbuild/3.3.0]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- run: npm install -g @bazel/bazelisk
- run: cat .bazelrc.ci >> .bazelrc
- run: ./scripts/skylint.sh
- run: ./test/run_all_tests.sh ci
- run: ./scripts/gen-docs.sh && git diff --exit-code docs/
- run: bazel shutdown
41 changes: 0 additions & 41 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Twirl Template Rules for Bazel

| Travis | Doc
| Status | Doc
| --- | --- |
| [![Build Status](https://api.travis-ci.com/lucidsoftware/rules_twirl.svg?branch=master)](https://travis-ci.com/lucidsoftware/rules_twirl/branches) | [Stardoc](docs/stardoc/twirl.md) |
| [![Build Status](https://github.com/lucidsoftware/rules_twirl/workflows/CI/badge.svg)](https://github.com/lucidsoftware/rules_twirl/actions) | [Stardoc](docs/stardoc/twirl.md) |

## Overview
`rules_twirl` compiles [Twirl](https://github.com/playframework/twirl) templates to [Scala](http://www.scala-lang.org/), so they can be used with [`bazelbuild/rules_scala`](https://github.com/bazelbuild/rules_scala) and [`higherkindness/rules_scala`](https://github.com/higherkindness/rules_scala).
Expand Down
20 changes: 0 additions & 20 deletions scripts/ci-stardoc-update.sh

This file was deleted.

Binary file removed scripts/lemur_rsa.enc
Binary file not shown.
3 changes: 3 additions & 0 deletions tools/bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash -e
exec bazelisk "$@"

0 comments on commit 7482a70

Please sign in to comment.