Skip to content

Remove accidentally committed binary #87

Remove accidentally committed binary

Remove accidentally committed binary #87

Workflow file for this run

name: CI
on:
push:
branches: [main, dev]
pull_request:
branches: [main]
jobs:
# Go
go-build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v5
- uses: actions/setup-go@v5
with:
go-version: "1.22"
- name: Build
shell: bash
run: |
if [ "$RUNNER_OS" = "Windows" ]; then
go build -o gx.exe .
else
go build -o gx .
fi
- run: go test ./... -count=1
- run: go vet ./...
- name: Verify binary
shell: bash
run: |
if [ "$RUNNER_OS" = "Windows" ]; then
./gx.exe --version
else
./gx --version
fi
# Python
python-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: "3.12"
- run: pip install ruff mypy
- run: ruff check src/
- run: mypy src/gx/ --ignore-missing-imports
python-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.12"]
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- run: pip install -e ".[dev]"
- run: gx --version
- run: python -m pytest tests/ -v