Skip to content

Commit 0af6492

Browse files
authored
replace Travis-CI with GitHub Actions (#139)
just in this repo, this doesn't affect the module repos themselves, that will come later
1 parent feef2be commit 0af6492

File tree

3 files changed

+42
-26
lines changed

3 files changed

+42
-26
lines changed

.github/workflows/ci.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: test
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
jobs:
8+
test:
9+
strategy:
10+
fail-fast: false
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: coursier/cache-action@v6
15+
- uses: actions/setup-java@v2
16+
with:
17+
distribution: adopt
18+
java-version: 8
19+
- name: Test
20+
run: sbt test

.github/workflows/release.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Release
2+
on:
3+
push:
4+
tags: ["*"]
5+
jobs:
6+
publish:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
with:
11+
fetch-depth: 0
12+
- uses: actions/setup-java@v2
13+
with:
14+
distribution: adopt
15+
java-version: 8
16+
- uses: olafurpg/setup-gpg@v3
17+
- run: sbt ci-release
18+
env:
19+
PGP_PASSPHRASE: ${{secrets.PGP_PASSPHRASE}}
20+
PGP_SECRET: ${{secrets.PGP_SECRET}}
21+
SONATYPE_PASSWORD: ${{secrets.SONATYPE_PASSWORD}}
22+
SONATYPE_USERNAME: ${{secrets.SONATYPE_USERNAME}}

.travis.yml

-26
This file was deleted.

0 commit comments

Comments
 (0)