Skip to content

fix(download): should filter unexpected char for filename #70

fix(download): should filter unexpected char for filename

fix(download): should filter unexpected char for filename #70

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
- v*
pull_request:
branches:
- main
jobs:
workflow:
name: Lint/Build/Test
environment: default
strategy:
matrix:
go-version: [1.17.x]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{matrix.go-version}}
- name: Checkout Code Base
uses: actions/checkout@v2
- name: Restore Go Module Cache
uses: actions/cache@v2
with:
path: ~/go/internal/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Make Lint
run: |
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.43.0
make lint
- name: Build
run: make build
- name: Test
env:
ENV_MEDIA_GET: ${{ secrets.ENV_MEDIA_GET }}
run: make test