Skip to content

Merge pull request #261 from Zibbp/dependabot/go_modules/github.com/r… #267

Merge pull request #261 from Zibbp/dependabot/go_modules/github.com/r…

Merge pull request #261 from Zibbp/dependabot/go_modules/github.com/r… #267

Workflow file for this run

name: Go Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.x
- name: Install dependencies
run: go mod download
- name: Create directories
run: sudo mkdir -p /vods && sudo chmod 777 /vods && sudo mkdir -p /logs && sudo chmod 777 /logs
- name: Run Tests
run: go test -v ./...
env:
TWITCH_CLIENT_ID: ${{ secrets.TWITCH_CLIENT_ID }}
TWITCH_CLIENT_SECRET: ${{ secrets.TWITCH_CLIENT_SECRET }}