Fix build?
Some checks failed
CI / Clippy (pull_request) Failing after 9s
CI / Typos (pull_request) Successful in 11s
CI / Check version (pull_request) Successful in 3s
CI / Build and test (pull_request) Failing after 10s

This commit is contained in:
2025-05-04 10:49:07 -07:00
parent 10625a13ea
commit 27174ba72c
5 changed files with 11 additions and 4 deletions

View File

@ -29,7 +29,6 @@ jobs:
sudo apt update
DEBIAN_FRONTEND=noninteractive \
sudo apt install --yes rustup
rustup default stable
- name: Run clippy
run: cargo clippy --all-targets --all-features
@ -45,7 +44,6 @@ jobs:
sudo apt update
DEBIAN_FRONTEND=noninteractive \
sudo apt install --yes rustup
rustup default stable
- name: Build
run: cargo build --release
@ -56,6 +54,8 @@ jobs:
check-version:
name: Check version
runs-on: ubuntu-latest
# Skip this job on push to main
if: github.event_name != 'push' || github.ref != 'refs/heads/main'
steps:
- uses: actions/checkout@v4
with:

View File

@ -14,6 +14,11 @@ jobs:
with:
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
with:
api_key: "${{secrets.RELEASE_TOKEN}}"