microxdg 0.2.0

An XDG Base Directory Specification library.
Documentation
name: Rust

on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - master
  workflow_dispatch:
    branches:
      - master

env:
  CARGO_TERM_COLOR: always

jobs:
  linux-stable:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout
        uses: actions/checkout@v3

      - name: Install stable toolchain
        uses: actions-rs/toolchain@v1
        with:
          toolchain: stable
          profile: minimal
          components: clippy
          override: true

      - name: Build
        run: cargo build --verbose

      - name: Test
        run: cargo test --verbose

      - name: Lint
        run: cargo clippy --verbose

  linux-nightly:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout
        uses: actions/checkout@v3

      - name: Install stable toolchain
        uses: actions-rs/toolchain@v1
        with:
          toolchain: nightly
          profile: minimal
          components: clippy
          override: true

      - name: Build
        run: cargo build --verbose

      - name: Test
        run: cargo test --verbose

      - name: Lint
        run: cargo clippy --verbose

  macos-stable:
    runs-on: macos-latest

    steps:
      - name: Checkout
        uses: actions/checkout@v3

      - name: Install toolchain
        uses: actions-rs/toolchain@v1
        with:
          toolchain: stable
          profile: minimal
          components: clippy
          override: true

      - name: Build
        run: cargo build --verbose

      - name: Test
        run: cargo test --verbose

      - name: Lint
        run: cargo clippy --verbose

  macos-nightly:
    runs-on: macos-latest

    steps:
      - name: Checkout
        uses: actions/checkout@v3

      - name: Install stable toolchain
        uses: actions-rs/toolchain@v1
        with:
          toolchain: nightly
          profile: minimal
          components: clippy
          override: true

      - name: Build
        run: cargo build --verbose

      - name: Test
        run: cargo test --verbose

      - name: Lint
        run: cargo clippy --verbose