mirror of
https://github.com/TECHNOFAB11/tmux-copyrat.git
synced 2025-12-12 08:00:08 +01:00
chore(ci): bump actions versions
This commit is contained in:
parent
3b83842ecf
commit
4a888852e6
4 changed files with 101 additions and 30 deletions
68
.convco
Normal file
68
.convco
Normal file
|
|
@ -0,0 +1,68 @@
|
||||||
|
header: |
|
||||||
|
# Changelog
|
||||||
|
types:
|
||||||
|
- type: feat
|
||||||
|
increment: Minor
|
||||||
|
section: Features
|
||||||
|
hidden: false
|
||||||
|
- type: fix
|
||||||
|
increment: Patch
|
||||||
|
section: Fixes
|
||||||
|
hidden: false
|
||||||
|
- type: build
|
||||||
|
increment: None
|
||||||
|
section: Other
|
||||||
|
hidden: true
|
||||||
|
- type: chore
|
||||||
|
increment: None
|
||||||
|
section: Other
|
||||||
|
hidden: true
|
||||||
|
- type: ci
|
||||||
|
increment: None
|
||||||
|
section: Other
|
||||||
|
hidden: true
|
||||||
|
- type: docs
|
||||||
|
increment: None
|
||||||
|
section: Documentation
|
||||||
|
hidden: true
|
||||||
|
- type: style
|
||||||
|
increment: None
|
||||||
|
section: Other
|
||||||
|
hidden: true
|
||||||
|
- type: refactor
|
||||||
|
increment: None
|
||||||
|
section: Other
|
||||||
|
hidden: true
|
||||||
|
- type: perf
|
||||||
|
increment: None
|
||||||
|
section: Other
|
||||||
|
hidden: true
|
||||||
|
- type: test
|
||||||
|
increment: None
|
||||||
|
section: Other
|
||||||
|
hidden: true
|
||||||
|
preMajor: false
|
||||||
|
commitUrlFormat: '{{@root.host}}/{{@root.owner}}/{{@root.repository}}/commit/{{hash}}'
|
||||||
|
compareUrlFormat: '{{@root.host}}/{{@root.owner}}/{{@root.repository}}/compare/{{previousTag}}...{{currentTag}}'
|
||||||
|
issueUrlFormat: '{{@root.host}}/{{@root.owner}}/{{@root.repository}}/issues/{{issue}}'
|
||||||
|
userUrlFormat: '{{host}}/{{user}}'
|
||||||
|
releaseCommitMessageFormat: 'chore(release): {{currentTag}}'
|
||||||
|
issuePrefixes:
|
||||||
|
- '#'
|
||||||
|
host: null
|
||||||
|
owner: null
|
||||||
|
repository: null
|
||||||
|
template: null
|
||||||
|
commitTemplate: null
|
||||||
|
scopeRegex: ^[[:alnum:]]+(?:[-_/][[:alnum:]]+)*$
|
||||||
|
lineLength: 80
|
||||||
|
wrapDisabled: false
|
||||||
|
linkCompare: true
|
||||||
|
linkReferences: true
|
||||||
|
merges: false
|
||||||
|
firstParent: false
|
||||||
|
stripRegex: ''
|
||||||
|
description:
|
||||||
|
length:
|
||||||
|
min: 10
|
||||||
|
max: null
|
||||||
25
.github/workflows/essentials.yml
vendored
25
.github/workflows/essentials.yml
vendored
|
|
@ -22,12 +22,14 @@ jobs:
|
||||||
components: rustfmt, clippy
|
components: rustfmt, clippy
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: ${{ github.event.pull_request.commits }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
|
fetch-depth: 0
|
||||||
|
# fetch-depth: ${{ github.event.pull_request.commits }}
|
||||||
|
|
||||||
- name: Cache crates from crates.io
|
- name: Cache crates from crates.io
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
continue-on-error: false
|
continue-on-error: false
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
|
|
@ -46,14 +48,15 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
cargo clippy -- -D warnings
|
cargo clippy -- -D warnings
|
||||||
|
|
||||||
# - name: Quality - convco check
|
- name: Quality - convco check
|
||||||
# run: |
|
run: |
|
||||||
# git show-ref
|
git show-ref
|
||||||
# curl -sSfLO https://github.com/convco/convco/releases/latest/download/convco-ubuntu.zip
|
curl -sSfLO https://github.com/convco/convco/releases/latest/download/convco-ubuntu.zip
|
||||||
# unzip convco-ubuntu.zip
|
unzip convco-ubuntu.zip
|
||||||
# chmod +x convco
|
chmod +x convco
|
||||||
# ./convco check
|
./convco --version
|
||||||
# rm convco
|
./convco check -c .convco
|
||||||
|
rm convco
|
||||||
|
|
||||||
- name: Quality - cargo deny check
|
- name: Quality - cargo deny check
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
10
.github/workflows/large-scope.yml
vendored
10
.github/workflows/large-scope.yml
vendored
|
|
@ -22,10 +22,10 @@ jobs:
|
||||||
components: rustfmt, clippy
|
components: rustfmt, clippy
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Cache crates from crates.io
|
- name: Cache crates from crates.io
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
continue-on-error: false
|
continue-on-error: false
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
|
|
@ -100,7 +100,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- os: macos-latest
|
- os: macos-13
|
||||||
target: x86_64-apple-darwin
|
target: x86_64-apple-darwin
|
||||||
type: unix
|
type: unix
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
|
|
@ -117,10 +117,10 @@ jobs:
|
||||||
components: rustfmt, clippy
|
components: rustfmt, clippy
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Cache crates from crates.io
|
- name: Cache crates from crates.io
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
continue-on-error: false
|
continue-on-error: false
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
|
|
|
||||||
28
.github/workflows/release.yml
vendored
28
.github/workflows/release.yml
vendored
|
|
@ -17,7 +17,7 @@ jobs:
|
||||||
rust: stable
|
rust: stable
|
||||||
suffix: ''
|
suffix: ''
|
||||||
archive_ext: zip
|
archive_ext: zip
|
||||||
- os: macos-latest
|
- os: macos-13
|
||||||
target: x86_64-apple-darwin
|
target: x86_64-apple-darwin
|
||||||
rust: stable
|
rust: stable
|
||||||
suffix: ''
|
suffix: ''
|
||||||
|
|
@ -40,10 +40,10 @@ jobs:
|
||||||
components: rustfmt, clippy
|
components: rustfmt, clippy
|
||||||
|
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Cache crates from crates.io
|
- name: Cache crates from crates.io
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
continue-on-error: false
|
continue-on-error: false
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
|
|
@ -58,7 +58,7 @@ jobs:
|
||||||
run: cargo build --release
|
run: cargo build --release
|
||||||
|
|
||||||
- name: Compress to zip (macOS)
|
- name: Compress to zip (macOS)
|
||||||
if: ${{ matrix.os == 'macos-latest' }}
|
if: ${{ matrix.os == 'macos-latest' || matrix.os == 'macos-13' }}
|
||||||
run:
|
run:
|
||||||
zip -A ${{ github.event.repository.name }}-${{ matrix.target }}.${{ matrix.archive_ext }} target/release/${{ github.event.repository.name }}
|
zip -A ${{ github.event.repository.name }}-${{ matrix.target }}.${{ matrix.archive_ext }} target/release/${{ github.event.repository.name }}
|
||||||
|
|
||||||
|
|
@ -79,7 +79,7 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ github.event.repository.name }}-${{ matrix.target }}.${{ matrix.archive_ext }}
|
name: ${{ github.event.repository.name }}-${{ matrix.target }}.${{ matrix.archive_ext }}
|
||||||
path: ${{ github.event.repository.name }}-${{ matrix.target }}.${{ matrix.archive_ext }}
|
path: ${{ github.event.repository.name }}-${{ matrix.target }}.${{ matrix.archive_ext }}
|
||||||
|
|
@ -94,7 +94,7 @@ jobs:
|
||||||
- prepare-artifacts
|
- prepare-artifacts
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
# convco needs all history to create the changelog
|
# convco needs all history to create the changelog
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
@ -102,7 +102,7 @@ jobs:
|
||||||
- name: Extract version
|
- name: Extract version
|
||||||
id: extract-version
|
id: extract-version
|
||||||
run: |
|
run: |
|
||||||
printf "::set-output name=%s::%s\n" tag-name "${GITHUB_REF#refs/tags/}"
|
echo "tag-name=${GITHUB_REF#refs/tags/}" >> ${GITHUB_OUTPUT}
|
||||||
|
|
||||||
- name: Download convco
|
- name: Download convco
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -113,19 +113,19 @@ jobs:
|
||||||
|
|
||||||
- name: Use convco to create the changelog
|
- name: Use convco to create the changelog
|
||||||
run: |
|
run: |
|
||||||
./convco changelog --max-versions 1 --include-hidden-sections > CHANGELOG.md
|
./convco changelog -c .convco --max-versions 1 --include-hidden-sections > CHANGELOG.md
|
||||||
rm convco convco-ubuntu.zip
|
rm convco convco-ubuntu.zip
|
||||||
|
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ github.event.repository.name }}-x86_64-unknown-linux-gnu.tar.xz
|
name: ${{ github.event.repository.name }}-x86_64-unknown-linux-gnu.tar.xz
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ github.event.repository.name }}-aarch64-apple-darwin.zip
|
name: ${{ github.event.repository.name }}-aarch64-apple-darwin.zip
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ github.event.repository.name }}-x86_64-apple-darwin.zip
|
name: ${{ github.event.repository.name }}-x86_64-apple-darwin.zip
|
||||||
# - uses: actions/download-artifact@v3
|
# - uses: actions/download-artifact@v4
|
||||||
# with:
|
# with:
|
||||||
# name: ${{ github.event.repository.name }}-x86_64-pc-windows-msvc.zip
|
# name: ${{ github.event.repository.name }}-x86_64-pc-windows-msvc.zip
|
||||||
|
|
||||||
|
|
@ -145,9 +145,9 @@ jobs:
|
||||||
- name: Extract version
|
- name: Extract version
|
||||||
id: extract-version
|
id: extract-version
|
||||||
run: |
|
run: |
|
||||||
printf "::set-output name=%s::%s\n" tag-name "${GITHUB_REF#refs/tags/}"
|
echo "tag-name=${GITHUB_REF#refs/tags/}" >> ${GITHUB_OUTPUT}
|
||||||
|
|
||||||
- uses: mislav/bump-homebrew-formula-action@v2
|
- uses: mislav/bump-homebrew-formula-action@v3
|
||||||
if: "!contains(github.ref, '-')" # skip prereleases
|
if: "!contains(github.ref, '-')" # skip prereleases
|
||||||
with:
|
with:
|
||||||
formula-name: tmux-copyrat
|
formula-name: tmux-copyrat
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue