mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-12-27 16:07:46 +00:00
Swithc to GitHub actions
This commit is contained in:
parent
d8b8a9854b
commit
5ae5d6e1fc
36
lib/text-size/.github/workflows/ci.yaml
vendored
Normal file
36
lib/text-size/.github/workflows/ci.yaml
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
name: CI
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- staging
|
||||
- trying
|
||||
|
||||
jobs:
|
||||
rust:
|
||||
name: Rust
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
|
||||
env:
|
||||
RUSTFLAGS: -D warnings
|
||||
RUSTUP_MAX_RETRIES: 10
|
||||
CARGO_NET_RETRY: 10
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install Rust toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
profile: minimal
|
||||
|
||||
- name: Test
|
||||
run: cargo test --features serde
|
||||
@ -1,2 +0,0 @@
|
||||
language: rust
|
||||
|
||||
6
lib/text-size/bors.toml
Normal file
6
lib/text-size/bors.toml
Normal file
@ -0,0 +1,6 @@
|
||||
status = [
|
||||
"Rust (ubuntu-latest)",
|
||||
"Rust (windows-latest)",
|
||||
"Rust (macos-latest)",
|
||||
]
|
||||
delete_merged_branches = true
|
||||
Loading…
x
Reference in New Issue
Block a user