Skip to content

Sync docs and metadata (#245) #272

Sync docs and metadata (#245)

Sync docs and metadata (#245) #272

Workflow file for this run

# 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@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
- name: Setup Java
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2
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