From 0f374b1d10f5221b5c082b934f977bd7ab9c5a5d Mon Sep 17 00:00:00 2001 From: s1d3sw1ped_bot Date: Mon, 31 Aug 2026 21:04:15 +0000 Subject: [PATCH] Run CI on push to master. Keep setup-ffmpeg and Go 1.25.4; add golangci-lint matching steamcache2. --- .gitea/workflows/test-pr.yaml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/test-pr.yaml b/.gitea/workflows/test-pr.yaml index ca7b4f5..2701e50 100644 --- a/.gitea/workflows/test-pr.yaml +++ b/.gitea/workflows/test-pr.yaml @@ -1,16 +1,25 @@ -name: PR Check +name: CI on: - - pull_request + pull_request: + push: + branches: + - master jobs: check-and-test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@main - - uses: actions/setup-go@main + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version-file: 'go.mod' - uses: FedericoCarboni/setup-ffmpeg@v3 - run: go mod tidy - run: go build ./... - - run: go test -race -v -shuffle=on ./... \ No newline at end of file + - run: go vet ./... + - name: golangci-lint + uses: golangci/golangci-lint-action@v8 + with: + version: v2.12 + args: --timeout=5m + - run: go test -race -v -shuffle=on ./...