Skip to content

Bump google.golang.org/api from 0.0.0-20180718221112-efcb5f25ac56 to 0.210.0 #754

Bump google.golang.org/api from 0.0.0-20180718221112-efcb5f25ac56 to 0.210.0

Bump google.golang.org/api from 0.0.0-20180718221112-efcb5f25ac56 to 0.210.0 #754

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/setup-go@v5
with:
go-version: 1.18
- uses: actions/checkout@v4
- run: make build
- uses: actions/upload-artifact@v4
with:
name: podsync-${{ matrix.os }}
path: bin/
test:
name: Test
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/setup-go@v5
with:
go-version: 1.18
- uses: actions/checkout@v4
- env:
VIMEO_TEST_API_KEY: ${{ secrets.VIMEO_ACCESS_TOKEN }}
YOUTUBE_TEST_API_KEY: ${{ secrets.YOUTUBE_API_KEY }}
run: make test
checks:
name: Checks
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/setup-go@v5
- uses: actions/checkout@v4
- uses: golangci/golangci-lint-action@v6
with:
version: v1.57.2
- name: Go mod
env:
DIFF_PATH: "go.mod go.sum"
run: |
go mod tidy
DIFF=$(git status --porcelain -- $DIFF_PATH)
if [ "$DIFF" ]; then
echo
echo "These files were modified:"
echo
echo "$DIFF"
echo
exit 1
fi