Merge pull request #62 from tgotwig/renovate/which-7.x #69
This file contains hidden or 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: 🦀 Running Rust | |
| on: | |
| push: | |
| branches-ignore: | |
| - 'renovate/**' | |
| pull_request: | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| Linter: | |
| runs-on: ubuntu-latest | |
| name: 🧹 Linter | |
| steps: | |
| - name: 🚀 actions/checkout@v4 | |
| uses: actions/checkout@v4 | |
| - name: 🕵️ Run linter | |
| run: cargo clippy | |
| MacOS: | |
| name: 🍎 MacOS | |
| runs-on: macos-latest | |
| steps: | |
| - name: 🚀 actions/checkout@v4 | |
| uses: actions/checkout@v4 | |
| - name: ⬇️ Install ffmpeg | |
| run: brew install ffmpeg | |
| - name: ⬇️ Install task | |
| run: brew install go-task/tap/go-task | |
| - name: 🕵️ Run tests | |
| run: task test | |
| Ubuntu: | |
| runs-on: ubuntu-latest | |
| name: 🐧 Ubuntu | |
| steps: | |
| - name: 🚀 actions/checkout@v4 | |
| uses: actions/checkout@v4 | |
| - name: ⬇️ Update package lists | |
| run: sudo apt-get update | |
| - name: ⬇️ Install ffmpeg | |
| run: sudo apt install -y ffmpeg | |
| - name: ⬇️ Install task | |
| run: | | |
| curl -sL "https://github.com/go-task/task/releases/download/v3.9.0/task_linux_amd64.tar.gz" | tar xz | |
| sudo mv task /usr/local/bin | |
| - name: 🕵️ Run tests | |
| run: task test | |
| Windows: | |
| runs-on: windows-latest | |
| name: 🏳️🌈 Windows | |
| steps: | |
| - name: 🚀 actions/checkout@v4 | |
| uses: actions/checkout@v4 | |
| - name: ⬇️ Install chocolatey | |
| uses: crazy-max/ghaction-chocolatey@v1 | |
| with: | |
| args: -h | |
| - name: ⬇️ Install ffmpeg | |
| run: choco install ffmpeg | |
| - name: ⬇️ Install task | |
| run: choco install go-task | |
| - name: 🕵️ Run tests | |
| run: task test |