Skip to content

ci: migrate runs-on to Twilio runner labels + SHA-pin actions #194

ci: migrate runs-on to Twilio runner labels + SHA-pin actions

ci: migrate runs-on to Twilio runner labels + SHA-pin actions #194

Workflow file for this run

name: Java CI 17
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest-large
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Set up JDK 17
uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- id: spotless
run: mvn spotless:check animal-sniffer:check test verify
# - if: failure()
# name: Test Spotless Failed
# run: |
# wget https://raw.githubusercontent.com/segmentio/circleci-notifications/master/slack-notify-branch.sh
# chmod u+x slack-notify-branch.sh
# BUILD_STATUS="Failed" NOTIFY_BRANCH="master" ./slack-notify-branch.sh
- if: steps.spotless.conclusion == 'success'
run: mvn -B package