@ -28,8 +28,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
DEBIAN_FRONTEND=noninteractive \
|
DEBIAN_FRONTEND=noninteractive \
|
||||||
sudo apt install --yes rustup
|
sudo apt install --yes rustup \
|
||||||
rustup default stable
|
rustup default stable
|
||||||
|
|
||||||
- name: Run clippy
|
- name: Run clippy
|
||||||
run: cargo clippy --all-targets --all-features
|
run: cargo clippy --all-targets --all-features
|
||||||
@ -44,8 +44,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
DEBIAN_FRONTEND=noninteractive \
|
DEBIAN_FRONTEND=noninteractive \
|
||||||
sudo apt install --yes rustup
|
sudo apt install --yes rustup \
|
||||||
rustup default stable
|
rustup default stable
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --release
|
run: cargo build --release
|
||||||
@ -56,6 +56,8 @@ jobs:
|
|||||||
check-version:
|
check-version:
|
||||||
name: Check version
|
name: Check version
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
# Skip this job on push to main
|
||||||
|
if: github.event_name != 'push' || github.ref != 'refs/heads/main'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
@ -14,6 +14,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: setup go
|
||||||
|
uses: https://github.com/actions/setup-go@v4
|
||||||
|
with:
|
||||||
|
go-version: ">=1.20.1"
|
||||||
|
|
||||||
- uses: https://gitea.com/actions/release-action@main
|
- uses: https://gitea.com/actions/release-action@main
|
||||||
with:
|
with:
|
||||||
api_key: "${{secrets.RELEASE_TOKEN}}"
|
api_key: "${{secrets.RELEASE_TOKEN}}"
|
||||||
|
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -306,7 +306,7 @@ checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "pick"
|
name = "pick"
|
||||||
version = "0.0.4"
|
version = "0.0.5"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anstyle",
|
"anstyle",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "pick"
|
name = "pick"
|
||||||
version = "0.0.4"
|
version = "0.0.5"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
|
|
||||||
#
|
#
|
||||||
|
2
toolchain.toml
Normal file
2
toolchain.toml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
[toolchain]
|
||||||
|
channel = "1.86.0"
|
Reference in New Issue
Block a user