Skip to content

Commit

Permalink
Merge pull request #80 from instructlab/dependabot/github_actions/ste…
Browse files Browse the repository at this point in the history
…p-security/harden-runner-2.10.3

build(deps): bump step-security/harden-runner from 2.10.2 to 2.10.3
  • Loading branch information
bjhargrave authored Jan 10, 2025
2 parents 031bb18 + 123dbed commit 4738551
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Harden Runner"
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Harden Runner"
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- name: "Checkout"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
tox -e mypy
steps:
- name: "Harden Runner"
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Harden Runner"
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs

Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:

steps:
- name: "Harden Runner"
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs

Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:

steps:
- name: "Harden Runner"
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- "ubuntu-latest"
steps:
- name: "Harden Runner"
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs

Expand Down
6 changes: 3 additions & 3 deletions tests/test_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@ def test_schema_base(self) -> None:
versions = schema_versions()
assert_that(versions).is_not_none().is_not_empty()
for i in range(len(versions)):
version = base.joinpath(f"v{i+1}")
version = base.joinpath(f"v{i + 1}")
self._load_schemas(version)

def test_schema_versions(self) -> None:
versions = schema_versions()
assert_that(versions).is_not_none().is_not_empty()
for i, version in enumerate(versions):
assert_that(version).has_name(f"v{i+1}")
assert_that(version).has_name(f"v{i + 1}")
self._load_schemas(version)

def test_importlib_schema(self) -> None:
versions = schema_versions()
assert_that(versions).is_not_none().is_not_empty()
for i in range(len(versions)):
version = importlib.resources.files(f"instructlab.schema.v{i+1}")
version = importlib.resources.files(f"instructlab.schema.v{i + 1}")
self._load_schemas(version)

0 comments on commit 4738551

Please sign in to comment.