Clean redirection URLs #380
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: lint and test | |
on: [push, pull_request] | |
jobs: | |
Test: | |
name: ${{ matrix.name }} (${{ matrix.config }}) | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
config: [Debug, Release] | |
include: | |
- os: macos-latest | |
name: macOS | |
- os: ubuntu-latest | |
name: Linux | |
- os: windows-latest | |
name: Windows | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
components: clippy | |
override: true | |
- name: Dependencies (Linux) | |
if: runner.os == 'Linux' | |
run: sudo apt-get install libxkbcommon-dev libxcb-shape0-dev libxcb-xfixes0-dev | |
- name: build | |
uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
- name: test | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
- name: clippy | |
run: cargo clippy --all -- -D warnings |