Skip to content

Commit

Permalink
Use setup-pixi action
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmmease committed Nov 16, 2023
1 parent 743f776 commit d0350cb
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 48 deletions.
76 changes: 40 additions & 36 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # pin@v3.5.2
- name: Install pixi
run: curl -fsSL https://pixi.sh/install.sh | bash && echo "${HOME}/.pixi/bin" >> $GITHUB_PATH
- uses: prefix-dev/setup-pixi@v0.4.1
with:
pixi-version: v0.7.0
cache: true
- name: Cache
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -37,14 +39,9 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # pin@v3.5.2
- name: Install pixi (linux / osx)
if: ${{ runner.os != 'Windows' }}
run: curl -fsSL https://pixi.sh/install.sh | bash && echo "${HOME}/.pixi/bin" >> $GITHUB_PATH
- name: Install pixi (windows)
if: ${{ runner.os == 'Windows' }}
run: |
iwr -useb https://pixi.sh/install.ps1 | iex
echo "${HOME}/AppData/Local/pixi/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- uses: prefix-dev/setup-pixi@v0.4.1
with:
pixi-version: v0.7.0
- name: Cache
uses: actions/cache@v3
with:
Expand All @@ -71,8 +68,9 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # pin@v3.5.2
- name: Install pixi (linux / osx)
run: curl -fsSL https://pixi.sh/install.sh | bash && echo "${HOME}/.pixi/bin" >> $GITHUB_PATH
- uses: prefix-dev/setup-pixi@v0.4.1
with:
pixi-version: v0.7.0
- name: Cache
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -158,10 +156,9 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # pin@v3.5.2
- name: Install pixi
run: |
iwr -useb https://pixi.sh/install.ps1 | iex
echo "${HOME}/AppData/Local/pixi/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- uses: prefix-dev/setup-pixi@v0.4.1
with:
pixi-version: v0.7.0
- name: Cache
uses: actions/cache@v3
with:
Expand All @@ -186,8 +183,9 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # pin@v3.5.2
- name: Install pixi
run: curl -fsSL https://pixi.sh/install.sh | bash && echo "${HOME}/.pixi/bin" >> $GITHUB_PATH
- uses: prefix-dev/setup-pixi@v0.4.1
with:
pixi-version: v0.7.0
- name: Cache
uses: actions/cache@v3
with:
Expand All @@ -212,8 +210,9 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # pin@v3.5.2
- name: Install pixi
run: curl -fsSL https://pixi.sh/install.sh | bash && echo "${HOME}/.pixi/bin" >> $GITHUB_PATH
- uses: prefix-dev/setup-pixi@v0.4.1
with:
pixi-version: v0.7.0
- name: Cache
uses: actions/cache@v3
with:
Expand All @@ -239,8 +238,9 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # pin@v3.5.2
- name: Install pixi (linux / osx)
run: curl -fsSL https://pixi.sh/install.sh | bash && echo "${HOME}/.pixi/bin" >> $GITHUB_PATH
- uses: prefix-dev/setup-pixi@v0.4.1
with:
pixi-version: v0.7.0
- name: Cache
uses: actions/cache@v3
with:
Expand All @@ -265,8 +265,9 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # pin@v3.5.2
- name: Install pixi (linux / osx)
run: curl -fsSL https://pixi.sh/install.sh | bash && echo "${HOME}/.pixi/bin" >> $GITHUB_PATH
- uses: prefix-dev/setup-pixi@v0.4.1
with:
pixi-version: v0.7.0
- name: Cache
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -401,8 +402,9 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # pin@v3.5.2
- name: Install pixi on linux
run: curl -fsSL https://pixi.sh/install.sh | bash && echo "${HOME}/.pixi/bin" >> $GITHUB_PATH
- uses: prefix-dev/setup-pixi@v0.4.1
with:
pixi-version: v0.7.0
- name: Cache
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -452,8 +454,9 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # pin@v3.5.2
- name: Install pixi
run: curl -fsSL https://pixi.sh/install.sh | bash && echo "${HOME}/.pixi/bin" >> $GITHUB_PATH
- uses: prefix-dev/setup-pixi@v0.4.1
with:
pixi-version: v0.7.0
- name: Cache
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -560,10 +563,9 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # pin@v3.5.2
- name: Install pixi
run: |
iwr -useb https://pixi.sh/install.ps1 | iex
echo "${HOME}/AppData/Local/pixi/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- uses: prefix-dev/setup-pixi@v0.4.1
with:
pixi-version: v0.7.0
- name: Cache
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -593,8 +595,9 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # pin@v3.5.2
- name: Install pixi
run: curl -fsSL https://pixi.sh/install.sh | bash && echo "${HOME}/.pixi/bin" >> $GITHUB_PATH
- uses: prefix-dev/setup-pixi@v0.4.1
with:
pixi-version: v0.7.0
- name: Cache
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -623,8 +626,9 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # pin@v3.5.2
- name: Install pixi
run: curl -fsSL https://pixi.sh/install.sh | bash && echo "${HOME}/.pixi/bin" >> $GITHUB_PATH
- uses: prefix-dev/setup-pixi@v0.4.1
with:
pixi-version: v0.7.0
- name: Cache
uses: actions/cache@v3
with:
Expand Down
27 changes: 15 additions & 12 deletions .github/workflows/java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # pin@v3.5.2
- name: Install pixi
run: curl -fsSL https://pixi.sh/install.sh | bash && echo "${HOME}/.pixi/bin" >> $GITHUB_PATH
- uses: prefix-dev/setup-pixi@v0.4.1
with:
pixi-version: v0.7.0
- name: Cache
uses: actions/cache@v3
with:
Expand All @@ -36,8 +37,9 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # pin@v3.5.2
- name: Install pixi
run: curl -fsSL https://pixi.sh/install.sh | bash && echo "${HOME}/.pixi/bin" >> $GITHUB_PATH
- uses: prefix-dev/setup-pixi@v0.4.1
with:
pixi-version: v0.7.0
- name: Cache
uses: actions/cache@v3
with:
Expand All @@ -64,8 +66,9 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # pin@v3.5.2
- name: Install pixi
run: curl -fsSL https://pixi.sh/install.sh | bash && echo "${HOME}/.pixi/bin" >> $GITHUB_PATH
- uses: prefix-dev/setup-pixi@v0.4.1
with:
pixi-version: v0.7.0
- name: Cache
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -94,10 +97,9 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # pin@v3.5.2
- name: Install pixi
run: |
iwr -useb https://pixi.sh/install.ps1 | iex
echo "${HOME}/AppData/Local/pixi/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- uses: prefix-dev/setup-pixi@v0.4.1
with:
pixi-version: v0.7.0
- name: Cache
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -129,8 +131,9 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # pin@v3.5.2
- name: Install pixi
run: curl -fsSL https://pixi.sh/install.sh | bash && echo "${HOME}/.pixi/bin" >> $GITHUB_PATH
- uses: prefix-dev/setup-pixi@v0.4.1
with:
pixi-version: v0.7.0
- name: Cache
uses: actions/cache@v3
with:
Expand Down

0 comments on commit d0350cb

Please sign in to comment.