Skip to content

Commit

Permalink
create actions jobs
Browse files Browse the repository at this point in the history
Trying to remember the basic syntax

pixi-setup taken from https://github.com/marketplace/actions/setup-pixi
  • Loading branch information
fangohr committed Dec 17, 2024
1 parent 900607a commit c452072
Showing 1 changed file with 28 additions and 12 deletions.
40 changes: 28 additions & 12 deletions .github/workflows/build-all.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,28 @@
- uses: prefix-dev/[email protected]
with:
pixi-version: v0.39.2
cache: true
# auth-host: prefix.dev
# auth-token: ${{ secrets.PREFIX_DEV_TOKEN }}
- run:
- pixi --version
- pixi run clean
- pixi run build
- pixi run check
- pixi run docs
name: build

on:
push:
pull_request:

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Check out repo
uses: actions/checkout@v2
- name: Install pixi
uses: prefix-dev/[email protected]
with:
pixi-version: v0.39.2
cache: true
# auth-host: prefix.dev
# auth-token: ${{ secrets.PREFIX_DEV_TOKEN }}
run: pixi --version
- name: build all
run: |
pixi run clean
pixi run build
pixi run check
pixi run docs

0 comments on commit c452072

Please sign in to comment.