Skip to content

Feat/repo readme

Feat/repo readme #2

name: STK actions quality-check
on:
pull_request:
jobs:
stackspot-runtime-v2:
name: StackSpot Runtime (v2)
runs-on: ubuntu-latest
env:
LANG: C.UTF-8
LANGUAGE: C.UTF-8
LC_ALL: C.UTF-8
PYTHONIOENCODING: utf-8
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- run: sudo apt update && sudo apt install -y curl unzip git jq
name: install dependencies
- name: Setup STK CLI
run: |
curl \
--fail \
--http2-prior-knowledge \
--location \
--output /tmp/stk.deb \
--silent \
--show-error \
--tlsv1.3 \
https://stk.stackspot.com/installer/linux/stk.deb
sudo dpkg --install /tmp/stk.deb || echo installed
rm --force /tmp/stk.deb
- name: Show STK CLI version
run: $HOME/.stk/bin/stk --version
- name: Login StackSpot
run: |
$HOME/.stk/bin/stk login -id ${{ secrets.IDP_STK_CLIENT_ID }} -key ${{ secrets.IDP_STK_CLIENT_SECRET }} -r stackspot
- name: Validate main action
run: |
$HOME/.stk/bin/stk validate action