mirror of
https://github.com/earthly/actions-setup.git
synced 2024-12-26 06:21:01 +08:00
renovate[bot]
140c3254be
Update npm (non-major) (#87)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@octokit/core](https://togithub.com/octokit/core.js) | [`6.1.1` -> `6.1.2`](https://renovatebot.com/diffs/npm/@octokit%2fcore/6.1.1/6.1.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@octokit%2fcore/6.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@octokit%2fcore/6.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@octokit%2fcore/6.1.1/6.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@octokit%2fcore/6.1.1/6.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@octokit/plugin-paginate-rest](https://togithub.com/octokit/plugin-paginate-rest.js) | [`11.0.0` -> `11.1.0`](https://renovatebot.com/diffs/npm/@octokit%2fplugin-paginate-rest/11.0.0/11.1.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@octokit%2fplugin-paginate-rest/11.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@octokit%2fplugin-paginate-rest/11.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@octokit%2fplugin-paginate-rest/11.0.0/11.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@octokit%2fplugin-paginate-rest/11.0.0/11.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.12.5` -> `20.12.7`](https://renovatebot.com/diffs/npm/@types%2fnode/20.12.5/20.12.7) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.12.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.12.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.12.5/20.12.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.12.5/20.12.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@vitest/coverage-v8](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.4.0` -> `1.5.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.4.0/1.5.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.4.0/1.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.4.0/1.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`5.4.4` -> `5.4.5`](https://renovatebot.com/diffs/npm/typescript/5.4.4/5.4.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.4.4/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.4.4/5.4.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://togithub.com/vitest-dev/vitest) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.4.0` -> `1.5.0`](https://renovatebot.com/diffs/npm/vitest/1.4.0/1.5.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.4.0/1.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.4.0/1.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>octokit/core.js (@​octokit/core)</summary> ### [`v6.1.2`](https://togithub.com/octokit/core.js/releases/tag/v6.1.2) [Compare Source](https://togithub.com/octokit/core.js/compare/v6.1.1...v6.1.2) ##### Bug Fixes - **pkg:** add `default` fallback and `types` export ([#​673](https://togithub.com/octokit/core.js/issues/673)) ([af3d390](af3d390db4
)), closes [#​665](https://togithub.com/octokit/core.js/issues/665) [#​667](https://togithub.com/octokit/core.js/issues/667) </details> <details> <summary>octokit/plugin-paginate-rest.js (@​octokit/plugin-paginate-rest)</summary> ### [`v11.1.0`](https://togithub.com/octokit/plugin-paginate-rest.js/releases/tag/v11.1.0) [Compare Source](https://togithub.com/octokit/plugin-paginate-rest.js/compare/v11.0.1...v11.1.0) ##### Features - Updates [@​octokit/types](https://togithub.com/octokit/types) to v13.4.0 ([#​606](https://togithub.com/octokit/plugin-paginate-rest.js/issues/606)) ([02d6110](02d6110c9c
)) ### [`v11.0.1`](https://togithub.com/octokit/plugin-paginate-rest.js/releases/tag/v11.0.1) [Compare Source](https://togithub.com/octokit/plugin-paginate-rest.js/compare/v11.0.0...v11.0.1) ##### Bug Fixes - **deps:** bump `@octokit/types` ([#​605](https://togithub.com/octokit/plugin-paginate-rest.js/issues/605)) ([f97c080](f97c080f92
)) </details> <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.5.0`](https://togithub.com/vitest-dev/vitest/compare/v1.4.0...v1.5.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.4.0...v1.5.0) </details> <details> <summary>Microsoft/TypeScript (typescript)</summary> ### [`v5.4.5`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.4.5): TypeScript 5.4.5 [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v5.4.4...v5.4.5) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/). For the complete list of fixed issues, check out the - [fixed issues query for Typescript 5.4.0 (Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.0%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.1 (RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.1%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.2 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.2%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.3 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.3%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.4 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.4%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.5 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.5%22+is%3Aclosed+). Downloads are available on: - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild) </details> <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.5.0`](https://togithub.com/vitest-dev/vitest/compare/v1.4.0...v1.5.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.4.0...v1.5.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 6am on monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/earthly/actions-setup). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJub24tbWFqb3IiLCJyZW5vdmF0ZSJdfQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
Setup Earthly - GitHub Action
This repository contains an action for use with GitHub Actions, which installs earthly with a semver-compatible version.
The package is installed into /home/runner/.earthly
(or equivalent on Windows) and the bin
subdirectory is added to the PATH.
Usage
Full example:
name: GitHub Actions CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
tests:
name: example earthly test
runs-on: ubuntu-latest
steps:
- uses: earthly/actions-setup@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
version: "latest" # or pin to an specific version, e.g. "0.8.1"
- uses: actions/checkout@v2
- name: Docker login # to avoid dockerhub rate-limiting
run: docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password "${{ secrets.DOCKERHUB_PASSWORD }}"
- name: what version is installed?
run: earthly --version
- name: run the earthly hello world
run: earthly github.com/earthly/hello-world:main+hello
Install the latest version of earthly:
- name: Install earthly
uses: earthly/actions-setup@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Install a specific version of earthly:
- name: Install earthly
uses: earthly/actions-setup@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
version: 0.8.1
Install a version that adheres to a semver range
- name: Install earthly
uses: earthly/actions-setup@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
version: ^0.8.0
Testing
You can perform a local test by running earthly +all
.
It is also possible to use act to test the contents of the github actions config.
Configuration
The action can be configured with the following arguments:
version
- The version of earthly to install. Default islatest
. Accepts semver style values.prerelease
(optional) - allow prerelease versions.use-cache
(optional) - whether to use the cache to store earthly or not.github-token
(optional) - GitHub token for fetching earthly version list. Recommended to avoid GitHub API ratelimit.
Description
Languages
TypeScript
69.6%
Earthly
30.4%