Bump actions/setup-java from 4.4.0 to 4.5.0 #401
Workflow file for this run
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
# This workflow will do a clean install of the dependencies and run tests across different versions | |
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
ci: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-22.04, macos-14] | |
java-version: [11] | |
ballerina-version: [2201.5.0] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 | |
- name: Setup Java | |
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b | |
with: | |
distribution: microsoft | |
java-version: ${{ matrix.java-version }} | |
- name: Install project dependencies | |
shell: bash | |
env: | |
BALLERINA_VERSION: ballerina-${{ matrix.ballerina-version }}-swan-lake | |
run: | | |
# Download Ballerina dist | |
curl -fsSL https://dist.ballerina.io/downloads/${{ matrix.ballerina-version }}/$BALLERINA_VERSION.zip --output $BALLERINA_VERSION.zip | |
# Unzip the zip file | |
unzip -q $BALLERINA_VERSION.zip | |
# Add Ballerina to system path | |
echo "$(pwd)/$BALLERINA_VERSION/bin" >> $GITHUB_PATH | |
- name: Verify all exercises | |
run: ./bin/verify-exercises |