mirror of
https://github.com/TECHNOFAB11/tmux-copyrat.git
synced 2025-12-12 16:10:07 +01:00
chore(ci): update mrsv to 1.56.0 (edition = 2021)
This commit is contained in:
parent
9e774174d0
commit
276d17ce8f
7 changed files with 9 additions and 59 deletions
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
|
|
@ -12,7 +12,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
rust: [1.50.0, stable, beta, nightly]
|
rust: [1.56.0, stable, beta, nightly]
|
||||||
steps:
|
steps:
|
||||||
- name: Rust install
|
- name: Rust install
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
|
|
@ -61,7 +61,7 @@ jobs:
|
||||||
- name: Rust install
|
- name: Rust install
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: 1.50.0
|
toolchain: 1.56.0
|
||||||
profile: minimal
|
profile: minimal
|
||||||
override: true
|
override: true
|
||||||
components: rustfmt
|
components: rustfmt
|
||||||
|
|
|
||||||
2
.github/workflows/main.yaml
vendored
2
.github/workflows/main.yaml
vendored
|
|
@ -13,7 +13,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
rust: [1.50.0, stable]
|
rust: [1.56.0, stable]
|
||||||
steps:
|
steps:
|
||||||
- name: Rust install
|
- name: Rust install
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
|
|
|
||||||
4
.github/workflows/pr.yaml
vendored
4
.github/workflows/pr.yaml
vendored
|
|
@ -9,7 +9,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
rust: [1.50.0, stable]
|
rust: [1.56.0, stable]
|
||||||
steps:
|
steps:
|
||||||
- name: Rust install
|
- name: Rust install
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
|
|
@ -33,7 +33,7 @@ jobs:
|
||||||
- name: Rust install
|
- name: Rust install
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: 1.42.0
|
toolchain: 1.56.0
|
||||||
profile: minimal
|
profile: minimal
|
||||||
override: true
|
override: true
|
||||||
components: rustfmt
|
components: rustfmt
|
||||||
|
|
|
||||||
51
.github/workflows/rust-ci.yml
vendored
51
.github/workflows/rust-ci.yml
vendored
|
|
@ -1,51 +0,0 @@
|
||||||
name: Rust CI
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- '*'
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- 'master'
|
|
||||||
|
|
||||||
env:
|
|
||||||
CARGO_TERM_COLOR: always
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build-mac:
|
|
||||||
runs-on: macos-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
run: cargo build --release
|
|
||||||
|
|
||||||
- name: Run tests
|
|
||||||
run: cargo test --verbose
|
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
|
||||||
with:
|
|
||||||
name: copyrat-macos.zip
|
|
||||||
path: ./target/release/*copyrat
|
|
||||||
|
|
||||||
|
|
||||||
build-linux:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
sudo apt update -y
|
|
||||||
sudo apt-get install -y curl gnupg ca-certificates git gcc-multilib g++-multilib cmake libssl-dev pkg-config python
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
run: cargo build --release
|
|
||||||
|
|
||||||
- name: Run tests
|
|
||||||
run: cargo test --verbose
|
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
|
||||||
with:
|
|
||||||
name: copyrat-linux.zip
|
|
||||||
path: ./target/release/*copyrat
|
|
||||||
|
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
[](https://crates.io/crates/tmux-copyrat)
|
[](https://crates.io/crates/tmux-copyrat)
|
||||||
[](https://docs.rs/tmux-copyrat)
|
[](https://docs.rs/tmux-copyrat)
|
||||||
[](https://rust-lang.github.io/rfcs/2495-min-rust-version.html)
|
[](https://rust-lang.github.io/rfcs/2495-min-rust-version.html)
|
||||||
|
[](https://doc.rust-lang.org/edition-guide/rust-2021/index.html)
|
||||||
[](https://github.com/graelo/tmux-copyrat/actions)
|
[](https://github.com/graelo/tmux-copyrat/actions)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,6 @@
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
ci=$(dirname $0)
|
ci=$(dirname $0)
|
||||||
for version in 1.50.0 stable beta nightly; do
|
for version in 1.56.0 stable beta nightly; do
|
||||||
rustup run "$version" "$ci/test_full.sh"
|
rustup run "$version" "$ci/test_full.sh"
|
||||||
done
|
done
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
CRATE=tmux-copyrat
|
CRATE=tmux-copyrat
|
||||||
MSRV=1.50
|
MSRV=1.56
|
||||||
|
|
||||||
get_rust_version() {
|
get_rust_version() {
|
||||||
local array=($(rustc --version));
|
local array=($(rustc --version));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue