Skip to content

Commit

Permalink
Update labels for runner
Browse files Browse the repository at this point in the history
  • Loading branch information
cmichi committed Jan 10, 2025
1 parent c311581 commit d4a2366
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 26 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@ jobs:
set-image:
# GitHub Actions does not allow using 'env' in a container context.
# This workaround sets the container image for each job using 'set-image' job output.
runs-on: [self-hosted, Linux, X64, ink]
runs-on: self-hosted
outputs:
IMAGE: ${{ steps.set_image.outputs.IMAGE }}
steps:
- id: set_image
run: echo "IMAGE=${{ env.IMAGE }}" >> $GITHUB_OUTPUT

spellcheck:
runs-on: [self-hosted, Linux, X64, ink]
runs-on: self-hosted
defaults:
run:
shell: bash
Expand All @@ -87,7 +87,7 @@ jobs:
cargo spellcheck check -v --cfg=.config/cargo_spellcheck.toml --checkers hunspell --code 1 -- recursive ./integration-tests/*
fmt:
runs-on: [self-hosted, Linux, X64, ink]
runs-on: self-hosted
defaults:
run:
shell: bash
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
rustfmt +nightly --check ./integration-tests/public/psp22-extension/runtime/psp22-extension-example.rs
clippy:
runs-on: [self-hosted, Linux, X64, ink]
runs-on: self-hosted
defaults:
run:
shell: bash
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
done
clippy-examples:
runs-on: [self-hosted, Linux, X64, ink]
runs-on: self-hosted
defaults:
run:
shell: bash
Expand Down Expand Up @@ -195,7 +195,7 @@ jobs:
--manifest-path {} -- -D warnings -A $CLIPPY_ALLOWED
check:
runs-on: [self-hosted, Linux, X64, ink]
runs-on: self-hosted
defaults:
run:
shell: bash
Expand Down Expand Up @@ -240,7 +240,7 @@ jobs:
done
dylint:
runs-on: [self-hosted, Linux, X64, ink]
runs-on: self-hosted
defaults:
run:
shell: bash
Expand Down Expand Up @@ -274,7 +274,7 @@ jobs:
### workspace

build:
runs-on: [self-hosted, Linux, X64, ink]
runs-on: self-hosted
needs: [set-image, check]
defaults:
run:
Expand Down Expand Up @@ -324,7 +324,7 @@ jobs:
done
test:
runs-on: [self-hosted, Linux, X64, ink]
runs-on: self-hosted
needs: [set-image, check]
defaults:
run:
Expand Down Expand Up @@ -378,7 +378,7 @@ jobs:
pushd linting && cargo nextest run --all-features --no-fail-fast --workspace && popd
docs:
runs-on: [self-hosted, Linux, X64, ink]
runs-on: self-hosted
needs: [set-image, check, fmt, clippy, clippy-examples, dylint, spellcheck]
defaults:
run:
Expand Down Expand Up @@ -418,7 +418,7 @@ jobs:
retention-days: 1

codecov:
runs-on: [self-hosted, Linux, X64, ink]
runs-on: self-hosted
needs: [set-image, check, fmt, clippy, clippy-examples, dylint, spellcheck]
defaults:
run:
Expand Down Expand Up @@ -478,7 +478,7 @@ jobs:
### examples

examples-test:
runs-on: [self-hosted, Linux, X64, ink]
runs-on: self-hosted
needs: [clippy]
strategy:
matrix:
Expand Down Expand Up @@ -507,7 +507,7 @@ jobs:
cargo +nightly test --all-features --all --manifest-path {}"

examples-test-mapping:
runs-on: [self-hosted, Linux, X64, ink]
runs-on: self-hosted
needs: [set-image]
defaults:
run:
Expand Down Expand Up @@ -540,7 +540,7 @@ jobs:
cargo +nightly-2024-11-28 test --all-features --all --manifest-path integration-tests/public/mapping/Cargo.toml

examples-custom-test:
runs-on: [self-hosted, Linux, X64, ink]
runs-on: self-hosted
needs: [set-image, clippy, clippy-examples]
defaults:
run:
Expand Down Expand Up @@ -593,7 +593,7 @@ jobs:
-- --ignored --nocapture
examples-contract-build:
runs-on: [self-hosted, Linux, X64, ink]
runs-on: self-hosted
needs: [set-image, build]
defaults:
run:
Expand Down Expand Up @@ -633,7 +633,7 @@ jobs:
-- cargo +nightly build --manifest-path {} --no-default-features --target $RISCV_TARGET -Zbuild-std="core,alloc"
examples-docs:
runs-on: [self-hosted, Linux, X64, ink]
runs-on: self-hosted
needs: [set-image, build]
defaults:
run:
Expand Down Expand Up @@ -674,7 +674,7 @@ jobs:
# fuzz

fuzz:
runs-on: [self-hosted, Linux, X64, ink]
runs-on: self-hosted
needs: [set-image, examples-docs, examples-contract-build, examples-test, examples-custom-test]
if: >
github.event_name == 'push' &&
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ permissions:

jobs:
dependabot-approve:
runs-on: [self-hosted, Linux, X64, ink]
runs-on: self-hosted
if: github.actor == 'dependabot[bot]'
steps:
- name: Dependabot metadata
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/issue-notifier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
fetch-issues:
runs-on: [self-hosted, Linux, X64, ink]
runs-on: self-hosted
strategy:
max-parallel: 3
matrix:
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
path: outputs/*.json

message:
runs-on: [self-hosted, Linux, X64, ink]
runs-on: self-hosted
needs: fetch-issues
steps:
- name: Load outputs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/measurements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:
jobs:
contract-sizes:
if: ${{ github.event_name == 'pull_request' }}
runs-on: [self-hosted, Linux, X64, ink]
runs-on: self-hosted
defaults:
run:
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-notifier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
fetch-issues:
runs-on: [self-hosted, Linux, X64, ink]
runs-on: self-hosted
strategy:
max-parallel: 3
matrix:
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
path: outputs/*.json

message:
runs-on: [self-hosted, Linux, X64, ink]
runs-on: self-hosted
needs: fetch-issues
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
github.event.workflow_run.event == 'push' &&
github.event.workflow_run.head_branch == 'master' &&
github.event.workflow_run.conclusion == 'success'
runs-on: [self-hosted, Linux, X64, ink]
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- published
jobs:
ping_matrix:
runs-on: [self-hosted, Linux, X64, ink]
runs-on: self-hosted
steps:
- name: send message
uses: s3krit/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/submit-contract-sizes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
submit-contract-sizes:
permissions:
pull-requests: write
runs-on: [self-hosted, Linux, X64, ink]
runs-on: self-hosted
timeout-minutes: 5
if: >
github.event.workflow_run.event == 'pull_request' &&
Expand Down

0 comments on commit d4a2366

Please sign in to comment.