Skip to content

Replace Collections.singletonList with List.of #1043

Replace Collections.singletonList with List.of

Replace Collections.singletonList with List.of #1043

Workflow file for this run

name: build
on:
push:
branches:
- master
paths-ignore:
- '**.md'
- '**.yml'
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '21' ]
architecture: [ 'x64' ]
name: Build with JDK ${{ matrix.java }} on ${{ matrix.architecture }}
steps:
- uses: actions/checkout@v4
- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: 'oracle'
java-version: ${{ matrix.java }}
architecture: ${{ matrix.architecture }}
cache: 'maven'
- name: Build with Maven
run: mvn package