@@ -24,10 +24,10 @@ jobs:
2424 cancel-in-progress : true
2525 steps :
2626 - name : Checkout
27- uses : actions/checkout@v2
27+ uses : actions/checkout@v3
2828
2929 - name : Install Python
30- uses : actions/setup-python@v2
30+ uses : actions/setup-python@v3
3131 with :
3232 python-version : ' 3.9.7'
3333
3939 runs-on : ubuntu-latest
4040 defaults :
4141 run :
42- shell : bash -l {0}
42+ shell : bash -el {0}
4343
4444 concurrency :
4545 # https://github.community/t/concurrecy-not-work-for-push/183068/7
@@ -48,17 +48,17 @@ jobs:
4848
4949 steps :
5050 - name : Checkout
51- uses : actions/checkout@v2
51+ uses : actions/checkout@v3
5252 with :
5353 fetch-depth : 0
5454
5555 - name : Cache conda
56- uses : actions/cache@v2
56+ uses : actions/cache@v3
5757 with :
5858 path : ~/conda_pkgs_dir
5959 key : ${{ runner.os }}-conda-${{ hashFiles('${{ env.ENV_FILE }}') }}
6060
61- - uses : conda-incubator/setup-miniconda@v2
61+ - uses : conda-incubator/setup-miniconda@v2.1.1
6262 with :
6363 mamba-version : " *"
6464 channels : conda-forge
6868 use-only-tar-bz2 : true
6969
7070 - name : Install node.js (for pyright)
71- uses : actions/setup-node@v2
71+ uses : actions/setup-node@v3
7272 with :
7373 node-version : " 16"
7474
@@ -105,7 +105,7 @@ jobs:
105105 runs-on : ubuntu-latest
106106 defaults :
107107 run :
108- shell : bash -l {0}
108+ shell : bash -el {0}
109109
110110 concurrency :
111111 # https://github.community/t/concurrecy-not-work-for-push/183068/7
@@ -114,17 +114,17 @@ jobs:
114114
115115 steps :
116116 - name : Checkout
117- uses : actions/checkout@v2
117+ uses : actions/checkout@v3
118118 with :
119119 fetch-depth : 0
120120
121121 - name : Cache conda
122- uses : actions/cache@v2
122+ uses : actions/cache@v3
123123 with :
124124 path : ~/conda_pkgs_dir
125125 key : ${{ runner.os }}-conda-${{ hashFiles('${{ env.ENV_FILE }}') }}
126126
127- - uses : conda-incubator/setup-miniconda@v2
127+ - uses : conda-incubator/setup-miniconda@v2.1.1
128128 with :
129129 mamba-version : " *"
130130 channels : conda-forge
@@ -151,8 +151,32 @@ jobs:
151151 if : ${{ steps.build.outcome == 'success' }}
152152
153153 - name : Publish benchmarks artifact
154- uses : actions/upload-artifact@v2
154+ uses : actions/upload-artifact@v3
155155 with :
156156 name : Benchmarks log
157157 path : asv_bench/benchmarks.log
158158 if : failure()
159+
160+ build_docker_dev_environment :
161+ name : Build Docker Dev Environment
162+ runs-on : ubuntu-latest
163+ defaults :
164+ run :
165+ shell : bash -el {0}
166+
167+ concurrency :
168+ # https://github.community/t/concurrecy-not-work-for-push/183068/7
169+ group : ${{ github.event_name == 'push' && github.run_number || github.ref }}-build_docker_dev_environment
170+ cancel-in-progress : true
171+
172+ steps :
173+ - name : Clean up dangling images
174+ run : docker image prune -f
175+
176+ - name : Checkout
177+ uses : actions/checkout@v3
178+ with :
179+ fetch-depth : 0
180+
181+ - name : Build image
182+ run : docker build --pull --no-cache --tag pandas-dev-env .
0 commit comments