Skip to content

Commit 3a76614

Browse files
committed
Fix CI
1 parent b719420 commit 3a76614

File tree

3 files changed

+39
-3
lines changed

3 files changed

+39
-3
lines changed

.github/workflows/gradle.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches: [ "latest" ]
6+
pull_request:
7+
branches: [ "latest" ]
8+
9+
env:
10+
GRADLE_CACHE_KEY: ${{ github.run_id }}-gradle-${{ github.run_number }}-${{ github.run_number }}-${{ github.sha }}
11+
12+
permissions:
13+
contents: read
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
name: Build & Test
19+
steps:
20+
- uses: actions/checkout@v3
21+
22+
- name: Set up JDK 17
23+
uses: actions/setup-java@v3
24+
with:
25+
java-version: '17'
26+
distribution: 'temurin'
27+
28+
- name: Gradle cache
29+
uses: actions/cache@v3
30+
with:
31+
path: ~/.gradle/caches
32+
key: ${{ env.GRADLE_CACHE_KEY }}
33+
restore-keys: ${{ env.GRADLE_CACHE_KEY }}
34+
35+
- name: Run tests
36+
uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
37+
with:
38+
arguments: test

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# OwnLang
22

3-
[![Build Status](https://travis-ci.org/aNNiMON/Own-Programming-Language-Tutorial.svg?branch=latest)](https://travis-ci.org/aNNiMON/Own-Programming-Language-Tutorial)
4-
53
OwnLang - dynamic functional programming language inspired by Scala and Python. Available for PC, Android and Java ME devices.
64

75
## Installing
@@ -157,4 +155,4 @@ or
157155

158156
## License
159157

160-
MIT - see [MIT licence information](LICENSE)
158+
MIT - see [MIT license information](LICENSE)

gradlew

100644100755
File mode changed.

0 commit comments

Comments
 (0)