Skip to content

Commit

Permalink
Merge branch 'master' into exclude-cache
Browse files Browse the repository at this point in the history
  • Loading branch information
dmathieu committed Oct 8, 2024
2 parents d0c3e57 + 11adc09 commit 47804f1
Show file tree
Hide file tree
Showing 20 changed files with 650 additions and 353 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,20 @@
# - Dockerfile-CI.alpine.Dockerfile
# - https://github.com/lycheeverse/lychee-action/blob/master/action.yml

name: Release
name: Release Binary
on:
release:
types:
- published
- created
- prereleased
workflow_dispatch:

env:
CARGO_TERM_COLOR: always

jobs:
prepare:
name: Build release binary
runs-on: ubuntu-latest
outputs:
tag_name: ${{ steps.get_release.outputs.tag_name }}
Expand Down
34 changes: 34 additions & 0 deletions .github/workflows/release-plz.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Release-plz pipeline for publishing
# a new GitHub + crates.io release

name: Release-plz

permissions:
pull-requests: write
contents: write

on:
push:
branches:
- main
- master

jobs:
release-plz:
name: Release-plz
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
# Use custom token here to allow triggering other
# pipelines (e.g. binary builds) after release.
token: ${{ secrets.RELEASE_PLZ_TOKEN }}
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Run release-plz
uses: MarcoIeni/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_PLZ_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
File renamed without changes.
32 changes: 15 additions & 17 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,26 +1,24 @@
# macOS-specific files
.DS_Store

# Windows-specific files
Thumbs.db

# Generated by Cargo
# will have compiled files and executables
/target/
debug/
target/

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock
# NOTE: Cargo.lock should be committed for workspaces with both binaries and libraries
# Cargo.lock

# These are backup files generated by rustfmt
# Backup files generated by rustfmt
**/*.rs.bk

# IDE generated files
*.idea
.vscode
.zed
# IDE-specific files and directories
.idea/
.vscode/
.zed/

# Lychee-specific files
# lychee-specific files
.lycheecache

# Config smoketest report file
.config.dummy.report.md

# Other
cookies.json

Loading

0 comments on commit 47804f1

Please sign in to comment.