mirror of
https://github.com/actions/cache.git
synced 2026-06-14 17:04:10 +08:00
Compare commits
1 Commits
e2352a2f8c
...
dependabot
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
745332c95a |
6
.github/workflows/codeql.yml
vendored
6
.github/workflows/codeql.yml
vendored
@@ -20,7 +20,7 @@ jobs:
|
|||||||
|
|
||||||
# Initializes the CodeQL tools for scanning.
|
# Initializes the CodeQL tools for scanning.
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@v3
|
uses: github/codeql-action/init@v4
|
||||||
# Override language selection by uncommenting this and choosing your languages
|
# Override language selection by uncommenting this and choosing your languages
|
||||||
# with:
|
# with:
|
||||||
# languages: go, javascript, csharp, python, cpp, java, ruby
|
# languages: go, javascript, csharp, python, cpp, java, ruby
|
||||||
@@ -28,7 +28,7 @@ jobs:
|
|||||||
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
|
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
|
||||||
# If this step fails, then you should remove it and run the build manually (see below).
|
# If this step fails, then you should remove it and run the build manually (see below).
|
||||||
- name: Autobuild
|
- name: Autobuild
|
||||||
uses: github/codeql-action/autobuild@v3
|
uses: github/codeql-action/autobuild@v4
|
||||||
|
|
||||||
# ℹ️ Command-line programs to run using the OS shell.
|
# ℹ️ Command-line programs to run using the OS shell.
|
||||||
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
|
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
|
||||||
@@ -42,4 +42,4 @@ jobs:
|
|||||||
# make release
|
# make release
|
||||||
|
|
||||||
- name: Perform CodeQL Analysis
|
- name: Perform CodeQL Analysis
|
||||||
uses: github/codeql-action/analyze@v3
|
uses: github/codeql-action/analyze@v4
|
||||||
|
|||||||
33
examples.md
33
examples.md
@@ -40,7 +40,6 @@
|
|||||||
- [Swift, Objective-C - CocoaPods](#swift-objective-c---cocoapods)
|
- [Swift, Objective-C - CocoaPods](#swift-objective-c---cocoapods)
|
||||||
- [Swift - Swift Package Manager](#swift---swift-package-manager)
|
- [Swift - Swift Package Manager](#swift---swift-package-manager)
|
||||||
- [Swift - Mint](#swift---mint)
|
- [Swift - Mint](#swift---mint)
|
||||||
- [* - ASDF](#---asdf)
|
|
||||||
- [* - Bazel](#---bazel)
|
- [* - Bazel](#---bazel)
|
||||||
|
|
||||||
## Bun
|
## Bun
|
||||||
@@ -682,38 +681,6 @@ steps:
|
|||||||
${{ runner.os }}-mint-
|
${{ runner.os }}-mint-
|
||||||
```
|
```
|
||||||
|
|
||||||
## * - ASDF
|
|
||||||
|
|
||||||
[ASDF](https://asdf-vm.com), see [#235](https://github.com/asdf-vm/actions/issues/235):
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
- name: Setup ASDF itself
|
|
||||||
uses: asdf-vm/actions/setup@v3
|
|
||||||
|
|
||||||
- name: Cache ASDF
|
|
||||||
uses: actions/cache@v4
|
|
||||||
id: asdf-cache
|
|
||||||
with:
|
|
||||||
# https://github.com/asdf-vm/asdf/blob/master/.gitignore
|
|
||||||
path: |
|
|
||||||
~/.asdf/installs
|
|
||||||
~/.asdf/plugins
|
|
||||||
~/.asdf/shims
|
|
||||||
key: ${{ runner.os }}-asdf-tools-${{ hashFiles('.tool-versions') }}
|
|
||||||
restore-keys: ${{ runner.os }}-asdf-tools-
|
|
||||||
|
|
||||||
- name: Install ASDF plugins
|
|
||||||
uses: asdf-vm/actions/install@v3
|
|
||||||
# See https://github.com/asdf-vm/actions/issues/445
|
|
||||||
if: ${{ steps.asdf-cache.outputs.cache-hit != 'true' }}
|
|
||||||
with:
|
|
||||||
asdf_branch: v0.14.0
|
|
||||||
|
|
||||||
- name: Reshim installed ASDF tools
|
|
||||||
shell: bash
|
|
||||||
run: asdf reshim
|
|
||||||
```
|
|
||||||
|
|
||||||
## * - Bazel
|
## * - Bazel
|
||||||
|
|
||||||
[`bazelisk`](https://github.com/bazelbuild/bazelisk) does not have be to separately downloaded and installed because it's already included in GitHub's `ubuntu-latest` and `macos-latest` base images.
|
[`bazelisk`](https://github.com/bazelbuild/bazelisk) does not have be to separately downloaded and installed because it's already included in GitHub's `ubuntu-latest` and `macos-latest` base images.
|
||||||
|
|||||||
Reference in New Issue
Block a user