Upgrade youtube package to fix 403 errors #554
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: ci | |
on: | |
push: | |
pull_request: | |
schedule: | |
# run ci weekly | |
- cron: "0 0 * * 0" | |
jobs: | |
ci: | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 30 | |
strategy: | |
matrix: | |
go: ["1.22"] | |
os: [ubuntu-latest, macOS-latest] | |
name: Go ${{ matrix.go }} in ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Environment | |
run: | | |
go version | |
go env | |
- name: Lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.58.0 | |
only-new-issues: true | |
- name: Test | |
env: | |
GOFLAGS: -mod=mod | |
run: go test -race -coverpkg=./... -coverprofile=coverage.txt ./... | |
- name: Send coverage | |
run: bash <(curl -s https://codecov.io/bash) |