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
5 changes: 5 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[build]
jobs = 8

[env]
FFMPEG_DIR = { value = ".cache/ffmpeg", relative = true }
38 changes: 12 additions & 26 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
name: CI

on:
push:
branches:
- master
branches: [master]
pull_request:

permissions:
contents: read

jobs:
check:
runs-on: ubuntu-24.04
Expand All @@ -17,30 +13,20 @@ jobs:
with:
fetch-depth: 0
filter: blob:none
- uses: actions/setup-go@v7
id: go
with:
go-version-file: go.mod
cache: false
- name: Restore Go modules, compiler, and linter caches
id: go-cache
uses: actions/cache@v6
with:
path: |
~/go/pkg/mod
~/.cache/go-build
.cache/golangci-lint
key: go-v1-${{ runner.os }}-${{ runner.arch }}-${{ steps.go.outputs.go-version }}-${{ hashFiles('go.mod', 'go.sum') }}-${{ github.sha }}
restore-keys: |
go-v1-${{ runner.os }}-${{ runner.arch }}-${{ steps.go.outputs.go-version }}-${{ hashFiles('go.mod', 'go.sum') }}-
go-v1-${{ runner.os }}-${{ runner.arch }}-${{ steps.go.outputs.go-version }}-
- uses: actions/setup-node@v6
with:
node-version: "26"
- uses: pkgxdev/setup@v5
- uses: moonrepo/setup-toolchain@v0
with:
moon-version: "2.5.5"
- run: mkdir -p "$HOME/.cache/go-build"
- run: rustup toolchain install 1.98.1 --profile minimal --component clippy,rustfmt
- uses: actions/cache@v6
with:
path: |
~/.cargo/registry
~/.cargo/git
target
.cache/ffmpeg
~/.pkgx
key: rust-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('Cargo.lock', 'rust-toolchain.toml', 'prepare-ffmpeg.py') }}
- name: Check affected tasks
id: ci
run: moon ci
Expand Down
19 changes: 5 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
/listenbox

.task/
.cache/
dist/
build/
coverage/
.test-results/
test-results/
*.test
*.prof
*.pprof
dump-*.json
**/.moon/cache/
/target/
/.cache/
/dist/
/.moon/cache/
__pycache__/
68 changes: 0 additions & 68 deletions .golangci.yaml

This file was deleted.

5 changes: 1 addition & 4 deletions .moon/tasks/all.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
env:
GOCACHE: ${HOME}/.cache/go-build
GOTMPDIR: ${HOME}/.cache/go-build
taskOptions:
cache: false
cache: true
unixShell: bash
outputStyle: stream
implicitInputs:
Expand Down
Loading