Skip to content

Commit 359dc66

Browse files
committed
chore: Use self-hosted
1 parent a69979c commit 359dc66

File tree

3 files changed

+4
-34
lines changed

3 files changed

+4
-34
lines changed

.github/actions/regenerate/action.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ runs:
44
using: "composite"
55
steps:
66
- uses: ./.github/actions/setup
7-
with:
8-
cache-esgf: true
97

108
- name: Verify registry
119
shell: bash

.github/actions/setup/action.yml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,13 @@
11
name: "Setup Python via pixi"
2-
description: "setup Python and pixi with caches"
3-
inputs:
4-
cache-esgf:
5-
description: "Cache any downloaded ESGF data"
6-
required: false
7-
default: "false"
8-
2+
description: "setup Python and pixi"
93
runs:
104
using: "composite"
115
steps:
126
- name: Install pixi
13-
uses: prefix-dev/setup-pixi@v0.8.3
7+
uses: prefix-dev/setup-pixi@v0.8.11
148
with:
15-
pixi-version: "v0.40.2"
9+
pixi-version: "v0.49.0"
1610
cache: true
1711
# Frozen is needed as the ref git dependency was not playing nice with a fully locked environment
1812
frozen: true
1913
log-level: "v"
20-
- name: Cache downloaded ESGF data
21-
uses: actions/cache@v4
22-
if: ${{ inputs.cache-esgf == 'true' }}
23-
with:
24-
path: |
25-
~/.esgf
26-
key: esgf

.github/workflows/ci.yaml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,26 +22,11 @@ jobs:
2222
run: make pre-commit
2323

2424
tests:
25-
strategy:
26-
fail-fast: false
27-
matrix:
28-
os: [ "ubuntu-latest" ]
29-
python-version: [ "3.12"]
30-
runs-on: "${{ matrix.os }}"
31-
defaults:
32-
run:
33-
# This might be needed for Windows and doesn't seem to affect unix-based systems
34-
# so we include it. If you have better proof of whether this is needed or not,
35-
# feel free to update.
36-
shell: bash
25+
runs-on: "self-hosted"
3726
steps:
3827
- name: Check out repository
3928
uses: actions/checkout@v4
4029
- uses: ./.github/actions/setup
41-
with:
42-
python-version: ${{ matrix.python-version }}
43-
cache-esgf: true
44-
4530
- name: Verify registry
4631
env:
4732
QUIET: true

0 commit comments

Comments
 (0)