Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
aNNiMON committed Jan 12, 2024
1 parent b719420 commit 04dc769
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 3 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -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
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -157,4 +155,4 @@ or

## License

MIT - see [MIT licence information](LICENSE)
MIT - see [MIT license information](LICENSE)

0 comments on commit 04dc769

Please sign in to comment.