Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/cache_data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ permissions: {}
jobs:
gmt_cache:
name: Cache GMT artifacts
runs-on: macos-latest
runs-on: macos-slim
defaults:
run:
shell: bash -l {0}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cache_dvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ permissions: {}
jobs:
dvc_cache:
name: Cache DVC baseline images
runs-on: ubuntu-latest
runs-on: ubuntu-slim
defaults:
run:
shell: bash -l {0}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ permissions:
jobs:
check_links:
name: Check Links
runs-on: ubuntu-latest
runs-on: ubuntu-slim
if: github.repository == 'GenericMappingTools/pygmt'

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dvc-diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ permissions:
jobs:
dvc-diff:
name: DVC image diff
runs-on: ubuntu-latest
runs-on: ubuntu-slim

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/format-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
format:
permissions:
contents: write # for Git to git push
runs-on: ubuntu-latest
runs-on: ubuntu-slim
steps:
# Generate token from GenericMappingTools bot
- uses: actions/create-github-app-token@v3.0.0
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ permissions: {}
jobs:
build:
name: Build distribution 📦
runs-on: ubuntu-latest
runs-on: ubuntu-slim
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one for publishing I think we should keep on ubuntu-latest. Coz the slim one has a 15min timeout and we wouldn't want it to fail.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds reasonable. Reverted in 842e075.


steps:
- name: Checkout
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
if: github.repository == 'GenericMappingTools/pygmt'
needs:
- build
runs-on: ubuntu-latest
runs-on: ubuntu-slim
environment:
name: testpypi
url: https://test.pypi.org/project/pygmt
Expand All @@ -106,7 +106,7 @@ jobs:
if: github.repository == 'GenericMappingTools/pygmt' && startsWith(github.ref, 'refs/tags/')
needs:
- build
runs-on: ubuntu-latest
runs-on: ubuntu-slim
environment:
name: pypi
url: https://pypi.org/project/pygmt/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-baseline-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
jobs:
upload-baseline:
name: Upload baseline images
runs-on: ubuntu-latest
runs-on: ubuntu-slim
if: github.repository == 'GenericMappingTools/pygmt'

permissions:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/slash-command-dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
contents: write # for executing the repository_dispatch event
pull-requests: write # for peter-evans/slash-command-dispatch to create PR reaction
if: ${{ github.event.issue.pull_request }}
runs-on: ubuntu-latest
runs-on: ubuntu-slim
steps:
- name: Slash Command Dispatch
uses: peter-evans/slash-command-dispatch@9bdcd7914ec1b75590b790b844aa3b8eee7c683a # v5.0.2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/style_checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ permissions: {}
jobs:
style_check:
name: Style Checks
runs-on: ubuntu-latest
runs-on: ubuntu-slim

steps:
# Checkout current git repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/type_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ permissions: {}
jobs:
static_check:
name: Static Type Check
runs-on: ubuntu-latest
runs-on: ubuntu-slim

steps:
# Checkout current git repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/welcome.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
greeting:
name: Greet First-Time Contributors
if: github.event_name == 'issues' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
runs-on: ubuntu-latest
runs-on: ubuntu-slim

steps:
- uses: actions/first-interaction@v3.1.0
Expand Down
Loading