Skip to content

Commit 45ae043

Browse files
committed
v1.0.0
1 parent f5a58b1 commit 45ae043

File tree

3 files changed

+32
-2
lines changed

3 files changed

+32
-2
lines changed

.github/workflows/release.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Release
2+
3+
on:
4+
workflow_dispatch: {}
5+
push:
6+
tags:
7+
- "v*.*.*"
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
SOLANA_VERSION: "1.7.11"
12+
RUST_TOOLCHAIN: nightly-2021-09-07
13+
14+
jobs:
15+
release-crate:
16+
runs-on: ubuntu-latest
17+
name: Release crate on crates.io
18+
steps:
19+
- uses: actions/checkout@v2
20+
- name: Install Rust nightly
21+
uses: actions-rs/toolchain@v1
22+
with:
23+
override: true
24+
profile: minimal
25+
toolchain: ${{ env.RUST_TOOLCHAIN }}
26+
- uses: Swatinem/rust-cache@v1
27+
- name: Publish crates
28+
run: cargo publish --token ${{ secrets.CARGO_PUBLISH_TOKEN }}
29+
- name: Release
30+
uses: softprops/action-gh-release@v1

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "vipers"
3-
version = "0.1.1"
3+
version = "1.0.0"
44
description = "Assorted checks and validations for writing safer Solana programs."
55
homepage = "https://saber.so"
66
repository = "https://github.com/saber-hq/vipers"

0 commit comments

Comments
 (0)