Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:

jobs:
check-dist:
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404

steps:
- uses: actions/checkout@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404
permissions:
actions: read
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/licensed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
test:
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404
name: Check licenses
steps:
- uses: actions/checkout@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-immutable-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
publish:
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404
permissions:
contents: read
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
tag:
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404
steps:
- uses: actions/checkout@v4
with:
Expand Down
19 changes: 13 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404
steps:
- uses: actions/setup-node@v4
with:
Expand All @@ -37,7 +37,7 @@ jobs:
test:
strategy:
matrix:
runs-on: [ubuntu-latest, macos-latest, windows-latest]
runs-on: [blacksmith-4vcpu-ubuntu-2404, macos-latest, blacksmith-4vcpu-windows-2025]
runs-on: ${{ matrix.runs-on }}

steps:
Expand Down Expand Up @@ -95,6 +95,7 @@ jobs:
path: fetch-filter

- name: Verify fetch filter
shell: bash
run: __test__/verify-fetch-filter.sh

# Sparse checkout
Expand All @@ -108,6 +109,7 @@ jobs:
path: sparse-checkout

- name: Verify sparse checkout
shell: bash
run: __test__/verify-sparse-checkout.sh

# Disabled sparse checkout in existing checkout
Expand All @@ -132,6 +134,7 @@ jobs:
path: sparse-checkout-non-cone-mode

- name: Verify sparse checkout (non-cone mode)
shell: bash
run: __test__/verify-sparse-checkout-non-cone-mode.sh

# LFS
Expand All @@ -154,6 +157,7 @@ jobs:
ref: test-data/v2/submodule-ssh-url
path: submodules-false
- name: Verify submodules false
shell: bash
run: __test__/verify-submodules-false.sh

# Submodules one level
Expand All @@ -165,6 +169,7 @@ jobs:
path: submodules-true
submodules: true
- name: Verify submodules true
shell: bash
run: __test__/verify-submodules-true.sh

# Submodules recursive
Expand All @@ -176,6 +181,7 @@ jobs:
path: submodules-recursive
submodules: recursive
- name: Verify submodules recursive
shell: bash
run: __test__/verify-submodules-recursive.sh

# Basic checkout using REST API
Expand All @@ -199,10 +205,11 @@ jobs:
ref: test-data/v2/basic
path: basic
- name: Verify basic
shell: bash
run: __test__/verify-basic.sh --archive

test-proxy:
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404
container:
image: ghcr.io/actions/test-ubuntu-git:main.20240221.114913.703z
options: --dns 127.0.0.1
Expand Down Expand Up @@ -243,7 +250,7 @@ jobs:
run: __test__/verify-basic.sh --archive

test-bypass-proxy:
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404
env:
https_proxy: http://no-such-proxy:3128
no_proxy: api.github.com,github.com
Expand Down Expand Up @@ -277,7 +284,7 @@ jobs:
run: __test__/verify-basic.sh --archive

test-git-container:
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404
container: bitnami/git:latest
steps:
# Clone this repo
Expand Down Expand Up @@ -316,7 +323,7 @@ jobs:
path: localClone

test-output:
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404
steps:
# Clone this repo
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-main-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:

jobs:
tag:
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404
steps:
# Note this update workflow can also be used as a rollback tool.
# For that reason, it's best to pin `actions/checkout` to a known, stable version
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-test-ubuntu-git.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:

jobs:
build-and-push-image:
runs-on: ubuntu-latest
runs-on: blacksmith-4vcpu-ubuntu-2404
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
permissions:
contents: read
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:

# Use `docker/build-push-action` to build (and optionally publish) the image.
- name: Build Docker Image (with optional Push)
uses: docker/build-push-action@v6.5.0
uses: useblacksmith/build-push-action@v2
with:
context: .
file: images/test-ubuntu-git.Dockerfile
Expand Down
2 changes: 1 addition & 1 deletion __test__/override-git-version.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
mkdir override-git-version
cd override-git-version
echo @echo override git version 1.2.3 > git.cmd
echo "%CD%" >> $GITHUB_PATH
echo %CD%>> "%GITHUB_PATH%"
cd ..
Loading