Skip to content

Commit

Permalink
Added Cargo.lock for reproducible builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasBackx committed May 29, 2021
1 parent 18f2890 commit f65c57f
Show file tree
Hide file tree
Showing 3 changed files with 832 additions and 7 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: Main
name: Release

on:
push:
branches: [main]
pull_request:
branches: [main]
tags:
- "*"

env:
CARGO_TERM_COLOR: always
Expand All @@ -20,12 +19,11 @@ jobs:
with:
profile: minimal
toolchain: stable
components: rustfmt, clippy
- name: Release build
uses: actions-rs/cargo@v1
with:
command: build
args: --release --all-features
args: --release --locked --all-features
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Temporary Items

# 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
# Cargo.lock

### VisualStudioCode ###
.vscode/*
Expand Down Expand Up @@ -96,3 +96,4 @@ $RECYCLE.BIN/

# End of https://www.toptal.com/developers/gitignore/api/rust,linux,windows,macos,visualstudiocode

aur/
Loading

0 comments on commit f65c57f

Please sign in to comment.