Skip to content

Bump simple-term-menu from 1.6.4 to 1.6.5 #87

Bump simple-term-menu from 1.6.4 to 1.6.5

Bump simple-term-menu from 1.6.4 to 1.6.5 #87

Workflow file for this run

---
name: Continous integration of Stacky
on:
pull_request:
branches:
- master
- main
types: [opened, synchronize, edited, ready_for_review]
jobs:
ci_bazel:
name: bazel build linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '>=1.20.0'
- uses: actions/[email protected]
with:
python-version: '3.10'
- run: curl -L -o bazelisk https://github.com/bazelbuild/bazelisk/releases/download/v1.19.0/bazelisk-linux-amd64
- run: chmod a+x bazelisk
- run: ln -s bazelisk bazel
- run: pip install xar
- run: sudo apt-get install squashfs-tools
- id: bazel_build
run: bazel build //:stacky.xar && bazel build //:stacky --build_python_zip
- name: Persist build artifacts
uses: actions/upload-artifact@v4
with:
name: stacky_draft
path: |
bazel-bin/stacky
bazel-bin/stacky.xar
retention-days: 2
ci:
name: build and archive
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
python-version: '3.10'
- name: Install pypa/build
run: >-
python3 -m
pip install
build
--user
- name: Build a binary wheel and a source tarball
run: python3 -m build
- name: Persist build artifacts
uses: actions/upload-artifact@v4
with:
name: stacky_draft_wheel
path: |
dist/*.whl
retention-days: 2
linter:
name: runner / black formatter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: psf/black@stable
with:
options: "--check --verbose"
src: "./src"
unittest:
name: run unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
python-version: '3.10'
- run: pip install asciitree ansicolors simple-term-menu
- run: ./src/stacky/stacky_test.py
typecheck:
name: static type check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
python-version: '3.10'
- run: pip install asciitree ansicolors simple-term-menu mypy
- run: mypy ./src/stacky/stacky.py