mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-28 07:44:06 +01:00
b615093ab0
Bumps the github-actions group with 4 updates in the / directory: [actions/upload-artifact](https://github.com/actions/upload-artifact), [actions/download-artifact](https://github.com/actions/download-artifact), [github/codeql-action/init](https://github.com/github/codeql-action) and [github/codeql-action/analyze](https://github.com/github/codeql-action). Updates `actions/upload-artifact` from 7.0.1 to 7.0.2 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/043fb46d1a93c77aae656e7c1c64a875d1fc6a0a...cf430e030ddbb5b0abf93d22962f4752f3646cd9) Updates `actions/download-artifact` from 8.0.1 to 8.0.2 - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c...9000827ccba6bdab643e8b6fd33ac0654aef8333) Updates `github/codeql-action/init` from 4.38.2 to 4.39.0 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2...6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee) Updates `github/codeql-action/analyze` from 4.38.2 to 4.39.0 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2...6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-version: 8.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: actions/upload-artifact dependency-version: 7.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: github/codeql-action/analyze dependency-version: 4.38.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: github/codeql-action/init dependency-version: 4.38.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com>
56 lines
1.7 KiB
YAML
56 lines
1.7 KiB
YAML
name: Reusable Benchmark
|
|
|
|
on:
|
|
workflow_call:
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
benchmark:
|
|
runs-on: ubuntu-latest
|
|
concurrency:
|
|
group: benchmark
|
|
cancel-in-progress: false
|
|
steps:
|
|
- name: checkout repository
|
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
|
- name: download benchmark data
|
|
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
|
with:
|
|
pattern: benchmark-*
|
|
path: benchmarks
|
|
|
|
- name: merge benchmark data
|
|
run: jq -s 'add' benchmarks/*/benchmark.json > benchmark.json
|
|
|
|
- name: save benchmark dashboard
|
|
run: cp .github/benchmark-index.html "$RUNNER_TEMP/benchmark-index.html"
|
|
|
|
- name: store benchmark result
|
|
uses: benchmark-action/github-action-benchmark@4322e5726e6334590d251fc4f92bec0efafc45dc # v1.22.2
|
|
with:
|
|
name: Fastfetch
|
|
tool: customSmallerIsBetter
|
|
output-file-path: benchmark.json
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
ref: ${{ github.sha }}
|
|
auto-push: true
|
|
summary-always: true
|
|
benchmark-data-dir-path: dev/bench
|
|
|
|
- name: publish benchmark dashboard
|
|
run: |
|
|
git fetch origin gh-pages
|
|
git switch --force-create gh-pages FETCH_HEAD
|
|
mkdir -p dev/bench
|
|
cp "$RUNNER_TEMP/benchmark-index.html" dev/bench/index.html
|
|
git config user.name github-action-benchmark
|
|
git config user.email github@users.noreply.github.com
|
|
git add dev/bench/index.html
|
|
if ! git diff --cached --quiet; then
|
|
git commit -m "Update benchmark dashboard"
|
|
git push origin gh-pages
|
|
fi
|