Skip to content

build(deps): bump rust-lang/crates-io-auth-action from 1.0.1 to 1.0.2 #723

build(deps): bump rust-lang/crates-io-auth-action from 1.0.1 to 1.0.2

build(deps): bump rust-lang/crates-io-auth-action from 1.0.1 to 1.0.2 #723

Workflow file for this run

#
# Copyright 2022 The Sigstore Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Check java build
permissions:
contents: read
on:
workflow_call: # allow this workflow to be called by other workflows
push:
branches: [main]
pull_request: {}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- name: Set up JDK 17
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
with:
java-version: 17
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
# make sure jar generation works and tests/checks pass
- name: Test
run: |
cd java
./gradlew build