Skip to content
Merged
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
35 changes: 35 additions & 0 deletions .github/workflows/actions.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# This file is machine-generated by `gh actions-lock`.
# Do not edit by hand; run `gh actions-lock` to update.
# Docs: https://gh.io/actions-lockfile
version: 'v0.0.3'
workflows:
'.github/workflows/rust-integration-tests.yml':
- 'actions/cache@v4.3.0'
- 'actions/checkout@v4.4.0'
- 'dtolnay/rust-toolchain@stable'
'.github/workflows/rust-publish.yml':
- 'actions/cache@v4.3.0'
- 'actions/checkout@v4.4.0'
- 'dtolnay/rust-toolchain@stable'
- 'rust-lang/crates-io-auth-action@v1.0.6'
dependencies:
'actions/cache@v4.3.0':
ref: 'v4.3.0'
commit: 'sha1-0057852bfaa89a56745cba8c7296529d2fc39830'
owner_id: 44036562
repo_id: 215566462
'actions/checkout@v4.4.0':
ref: 'v4.4.0'
commit: 'sha1-11d5960a326750d5838078e36cf38b85af677262'
owner_id: 44036562
repo_id: 197814629
'dtolnay/rust-toolchain@stable':
ref: 'stable'
commit: 'sha1-39008827e6b4319a349e9a42dfc90579dd25f1ca'
owner_id: 1940490
repo_id: 260749683
'rust-lang/crates-io-auth-action@v1.0.6':
ref: 'v1.0.6'
commit: 'sha1-3268eb413133e2960fa4ae0e963ca76380c54cd9'
owner_id: 5430905
repo_id: 1008931044
4 changes: 2 additions & 2 deletions .github/workflows/rust-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ jobs:
environment: tests
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v4.4.0

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy

- name: Cache cargo registry and build
uses: actions/cache@v4
uses: actions/cache@v4.3.0
with:
path: |
~/.cargo/registry
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/rust-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v4.4.0
with:
# Full history for the tag lookups.
fetch-depth: 0
Expand All @@ -43,7 +43,7 @@ jobs:
components: rustfmt, clippy

- name: Cache cargo registry and build
uses: actions/cache@v4
uses: actions/cache@v4.3.0
with:
path: |
~/.cargo/registry
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
- name: Authenticate to crates.io (Trusted Publishing)
id: auth
if: ${{ github.event.inputs.dry_run != 'true' }}
uses: rust-lang/crates-io-auth-action@v1
uses: rust-lang/crates-io-auth-action@v1.0.6

- name: Publish to crates.io
if: ${{ github.event.inputs.dry_run != 'true' }}
Expand Down
5 changes: 5 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# AGENTS.md

## GitHub Actions

Workflows reference actions by version tag (`actions/checkout@v7.0.1`), never by commit SHA. [`.github/workflows/actions.lock`](.github/workflows/actions.lock) pins every tag, including those called by composite actions, to its commit. After adding or changing a `uses:` line, run `gh actions-lock` ([extension](https://github.com/github/gh-actions-lock)) and commit the lockfile. Prefer composite actions from `apify/actions` over reusable workflows from `apify/workflows`, which the lockfile can't pin.
Loading