Skip to content

Bump actions/checkout from 4.1.1 to 4.1.2 (#146) #116

Bump actions/checkout from 4.1.1 to 4.1.2 (#146)

Bump actions/checkout from 4.1.1 to 4.1.2 (#146) #116

Workflow file for this run

name: Java CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
unit_test:
name: Unit tests
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- name: Set up JDK
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93
with:
java-version: "21"
distribution: "temurin"
- name: Test with Gradle
run: ./gradlew --no-daemon --continue test
- name: Upload test coverage
uses: coverallsapp/github-action@3dfc5567390f6fa9267c0ee9c251e4c8c3f18949
smoke_tests:
name: Smoke tests
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@0d103c3126aa41d772a8362f6aa67afac040f80c
with:
install: true
- name: Build Docker image and store in cache
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0
with:
context: .
push: false
load: true
tags: exercism/java-analyzer
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Run Tests in Docker
run: bin/run-tests-in-docker.sh