Bump actions/checkout from 4.1.3 to 4.1.7 #393
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) 2021 Red Hat, Inc. and others | |
# | |
# This program and the accompanying materials are made available under the | |
# Apache Software License 2.0 which is available at: | |
# https://www.apache.org/licenses/LICENSE-2.0. | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
name: Jakarta Contexts and Dependency Injection CI | |
on: | |
pull_request: | |
branches: [ main ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
name: "Build CDI - JDK ${{matrix.java}}" | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
java: [ '17', '21' ] | |
steps: | |
- uses: actions/[email protected] | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/[email protected] | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.java }} | |
- name: "Maven install" | |
run: | | |
mvn -Pstaging install -DskipTests=true -Dno-format -B -V | |
- name: "Maven test" | |
run: | | |
mvn -Pstaging test -B |