Skip to content

Commit 8f9e947

Browse files
authored
Merge pull request #224 from kafitzgerald/actions_updates
Actions updates
2 parents 120dd1a + 18814db commit 8f9e947

File tree

3 files changed

+19
-100
lines changed

3 files changed

+19
-100
lines changed

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: 'github-actions'
4+
directory: '/'
5+
schedule:
6+
# Check for updates once a week
7+
interval: 'weekly'

.github/workflows/ci_conda.yml_conflicts

Lines changed: 0 additions & 80 deletions
This file was deleted.

.github/workflows/ci_mamba.yml

Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99
schedule:
1010
- cron: '0 0 * * *' # Daily “At 00:00”
1111

12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref }}
14+
cancel-in-progress: true
15+
1216
jobs:
1317
test:
1418
name: (${{ matrix.os }})
@@ -20,15 +24,11 @@ jobs:
2024
strategy:
2125
fail-fast: false
2226
matrix:
23-
os: [ "ubuntu-latest", "macos-latest"]
27+
os: [ "ubuntu-latest", "macos-13"]
2428

2529
steps:
26-
- uses: actions/checkout@v2
27-
28-
- name: Cancel previous runs
29-
uses: styfle/[email protected]
30-
with:
31-
access_token: ${{ github.token }}
30+
- name: Checkout
31+
uses: actions/checkout@v4
3232

3333
- name: Install tcsh and byacc (Linux)
3434
if: matrix.os == 'ubuntu-latest'
@@ -38,32 +38,24 @@ jobs:
3838
sudo apt-get install byacc
3939
4040
- name: Install dependencies (Darwin)
41-
if: matrix.os == 'macos-latest'
41+
if: matrix.os == 'macos-13'
4242
run: |
4343
brew update
4444
brew install --cask xquartz
4545
4646
- name: Create mamba environment (Darwin)
47-
if: matrix.os == 'macos-latest'
48-
env:
49-
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
50-
uses: mamba-org/provision-with-micromamba@main
47+
if: matrix.os == 'macos-13'
48+
uses: mamba-org/setup-micromamba@0dea6379afdaffa5d528b3d1dabc45da37f443fc # v2.0.4
5149
with:
52-
micromamba-version: "latest"
53-
environment-name: ncl_build
5450
environment-file: .build/envs/Darwin.yml
5551

5652
- name: Create mamba environment (Linux)
5753
if: matrix.os == 'ubuntu-latest'
58-
env:
59-
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
60-
uses: mamba-org/provision-with-micromamba@main
54+
uses: mamba-org/setup-micromamba@0dea6379afdaffa5d528b3d1dabc45da37f443fc # v2.0.4
6155
with:
62-
micromamba-version: "latest"
63-
environment-name: ncl_build
6456
environment-file: .build/envs/Linux.yml
6557

66-
- name: Build ncl
58+
- name: Build NCL
6759
run: |
6860
bash .build/mamba_build.sh
6961

0 commit comments

Comments
 (0)