GitHub Action
checkout-action
GitHub Action for checking out a repository. (Simplified actions/checkout
alternative without depending on Node.js.)
This action currently provides a minimal subset of the features provided by actions/checkout
.
The features supported as of v1.0.0 are purely based on my use cases within public repositories, but feel free to submit an issue if you see something missing in your use case. See issues for known unsupported features.
- uses: taiki-e/checkout-action@v1
Almost equivalent to (for public repositories):
- uses: actions/checkout@v4
with:
persist-credentials: false
As of 2024-03-08, the latest version of actions/checkout
that uses node20 doesn't work on CentOS 7.
Also, in actions/*
actions, each update of the Node.js used increments the major version (it is the correct behavior for compatibility although), so workflows that use it require maintenance on a regular basis. (Unless you have fully automated dependency updates.)
This action has been tested for GitHub-hosted runners (Ubuntu, macOS, Windows) and containers (Ubuntu, Debian, Alpine, Fedora, CentOS, Alma, openSUSE, Arch). To use this action in self-hosted runners or in containers, at least the following tools are required:
- bash
- install-action: GitHub Action for installing development tools (mainly from GitHub Releases).
- create-gh-release-action: GitHub Action for creating GitHub Releases based on changelog.
- upload-rust-binary-action: GitHub Action for building and uploading Rust binary to GitHub Releases.
- setup-cross-toolchain-action: GitHub Action for setup toolchains for cross compilation and cross testing for Rust.
- cache-cargo-install-action: GitHub Action for
cargo install
with cache.
Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.