mirror of
https://github.com/aNNiMON/Own-Programming-Language-Tutorial.git
synced 2024-09-20 00:34:20 +03:00
Fix CI
This commit is contained in:
parent
b719420770
commit
3a76614117
38
.github/workflows/gradle.yml
vendored
Normal file
38
.github/workflows/gradle.yml
vendored
Normal file
@ -0,0 +1,38 @@
|
||||
name: build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "latest" ]
|
||||
pull_request:
|
||||
branches: [ "latest" ]
|
||||
|
||||
env:
|
||||
GRADLE_CACHE_KEY: ${{ github.run_id }}-gradle-${{ github.run_number }}-${{ github.run_number }}-${{ github.sha }}
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
name: Build & Test
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
|
||||
- name: Gradle cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.gradle/caches
|
||||
key: ${{ env.GRADLE_CACHE_KEY }}
|
||||
restore-keys: ${{ env.GRADLE_CACHE_KEY }}
|
||||
|
||||
- name: Run tests
|
||||
uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
|
||||
with:
|
||||
arguments: test
|
@ -1,7 +1,5 @@
|
||||
# OwnLang
|
||||
|
||||
[![Build Status](https://travis-ci.org/aNNiMON/Own-Programming-Language-Tutorial.svg?branch=latest)](https://travis-ci.org/aNNiMON/Own-Programming-Language-Tutorial)
|
||||
|
||||
OwnLang - dynamic functional programming language inspired by Scala and Python. Available for PC, Android and Java ME devices.
|
||||
|
||||
## Installing
|
||||
@ -157,4 +155,4 @@ or
|
||||
|
||||
## License
|
||||
|
||||
MIT - see [MIT licence information](LICENSE)
|
||||
MIT - see [MIT license information](LICENSE)
|
||||
|
Loading…
Reference in New Issue
Block a user