Install system python 3.11.8 #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and test | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: quay.io/pypa/manylinux_2_24_x86_64 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11.8' | |
- name: Install Nix | |
uses: cachix/install-nix-action@v26 | |
- name: Install Cachix | |
uses: cachix/cachix-action@v14 | |
with: | |
name: devenv | |
- name: Install devenv.sh | |
run: nix profile install nixpkgs#devenv | |
- name: Build the devenv shell and run any pre-commit hooks | |
run: devenv test | |
# - name: Build devcontainer image | |
# uses: devcontainers/ci@v0.3 | |
# with: | |
# runCmd: devenv test |