Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 59 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: CI

on: [push, pull_request]

env:
minrust: 1.41.0

jobs:
test:
name: Test
runs-on: ubuntu-latest

strategy:
matrix:
rust: [stable, beta, nightly]

steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
profile: minimal
override: true

- name: cargo test --all
uses: actions-rs/cargo@v1
with:
command: test
args: --all
- name: cargo test --benches
if: matrix.rust == 'nightly'
uses: actions-rs/cargo@v1
with:
command: test
args: --benches

- name: Check minimal versions
if: matrix.rust == 'nightly'
run: |
cargo clean
cargo update -Z minimal-versions
cargo check

MSRV:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Install rust ${{ env.minrust }}
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.minrust }}
profile: minimal
override: true

- name: cargo build
uses: actions-rs/cargo@v1
with:
command: build
21 changes: 0 additions & 21 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# rust http headers

[![Build Status](https://travis-ci.org/hyperium/headers.svg?branch=master)](https://travis-ci.org/hyperium/header)
[![Build Status](https://github.com/hyperium/headers/workflows/CI/badge.svg)](https://github.com/hyperium/headers/actions?query=workflow%3ACI)

Typed HTTP headers.