Skip to content

Don't use deprecated /events WebSockets endpoint #1306

Don't use deprecated /events WebSockets endpoint

Don't use deprecated /events WebSockets endpoint #1306

Workflow file for this run

name: Installer
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
paths:
- 'src/**'
- 'scripts/install.py'
- 'pyproject.toml'
- 'poetry.lock'
- '.github/workflows/installer.yml'
jobs:
installer:
name: Installer
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
arch: amd64
- os: ubuntu-latest
arch: arm64
# - os: macos-latest
# arch: amd64
- os: macos-latest
arch: arm64
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: macOS runner workaround
run: pip install --upgrade pip pipx
- name: Install DipDup
run: python src/dipdup/install.py --quiet --path .
- name: dipdup new
run: dipdup new --quiet
- name: dipdup init
run: cd dipdup-indexer; dipdup init
- name: make install
run: cd dipdup-indexer; make install
- name: make lint
run: cd dipdup-indexer; make lint
- name: Copy installer to scripts
if: contains(github.ref, 'master')
run: rm scripts/* && cp src/dipdup/install.py scripts/install_lts.py
- name: Deploy scripts to GH Pages
if: contains(github.ref, 'master')
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./scripts
keep_files: true