mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2024-11-23 20:50:18 +01:00
16e94447f7
* GitHub workflow for releases * avoid renaming * add workflow for tests * fix workflow name * one yaml for all * fix yaml * add missing pipe * add conditional * also rename that other var * remove empty version * print the go version * add name to step * add go version when building * split files * remove dependency * delete travis and add badge * CHANGE NAMES TO LOWER CASE
27 lines
532 B
YAML
27 lines
532 B
YAML
name: test
|
|
on:
|
|
push:
|
|
branches:
|
|
- "*"
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
go_version:
|
|
- 1.13.x
|
|
- 1.14.x
|
|
- 1.15.x
|
|
- 1.16.x
|
|
name: Test with ${{ matrix.go_version }}
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-go@v1
|
|
with:
|
|
go-version: ${{ matrix.go_version }}
|
|
- name: Vet and test
|
|
run: |
|
|
go version
|
|
go vet ./...
|
|
go test ./...
|