Skip to content

Add rotational-cipher #355

Add rotational-cipher

Add rotational-cipher #355

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@a5ac7e51b41094c92402da3b24376905380afc29
- 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