Compare commits

...

3 Commits

Author SHA1 Message Date
939ccc90fe v5
Some checks failed
CI / Typos (push) Successful in 7s
CI / Clippy (push) Successful in 48s
CI / Check version (push) Has been skipped
Release / release (push) Failing after 49s
CI / Build and test (push) Successful in 3m53s
2025-05-14 19:16:47 -07:00
25d62b623a Fix build (#5)
Some checks failed
CI / Typos (push) Successful in 8s
CI / Clippy (push) Has started running
CI / Build and test (push) Has been cancelled
CI / Check version (push) Has been cancelled
Release / release (push) Has been cancelled
Reviewed-on: #5
2025-05-14 19:14:47 -07:00
bdf0511390 Fix build (#4)
Some checks failed
CI / Clippy (push) Failing after 8s
CI / Typos (push) Successful in 10s
CI / Check version (push) Has been skipped
CI / Build and test (push) Failing after 8s
Release / release (push) Failing after 36s
Reviewed-on: #4
2025-05-04 10:52:08 -07:00
6 changed files with 15 additions and 6 deletions

View File

@ -29,7 +29,7 @@ jobs:
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
@ -45,7 +45,7 @@ jobs:
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:

View File

@ -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
View File

@ -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",

View File

@ -1,7 +1,7 @@
[package] [package]
name = "pick" name = "pick"
version = "0.0.4" version = "0.0.5"
edition = "2024" edition = "2021"
# #
# MARK: lints # MARK: lints

View File

@ -1,7 +1,7 @@
{ lib, fetchgit, rustPlatform }: { lib, fetchgit, rustPlatform }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "pick"; pname = "pick";
version = "0.0.4"; version = "0.0.5";
cargoLock.lockFile = src + /Cargo.lock; cargoLock.lockFile = src + /Cargo.lock;
src = builtins.fetchGit { src = builtins.fetchGit {

2
toolchain.toml Normal file
View File

@ -0,0 +1,2 @@
[toolchain]
channel = "1.86.0"