Bump actions/checkout from 43045ae669be728bd34ed56fcd1a230c0dc4d8e2 to 44c2b7a8a4ea60a981eaca3cf939b5f4305c123b #337
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-12] | |
java-version: [11] | |
ballerina-version: [2201.5.0] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b | |
- name: Setup Java | |
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 | |
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 |