mirror of https://github.com/ojizero/gofindup
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
583 B
31 lines
583 B
name: Run tests |
|
on: |
|
push: |
|
branches: |
|
- master |
|
pull_request: |
|
branches: |
|
- master |
|
jobs: |
|
test-package: |
|
name: Test |
|
runs-on: ubuntu-latest |
|
steps: |
|
- name: Set up Go 1.13 |
|
uses: actions/setup-go@v1 |
|
with: |
|
go-version: 1.13 |
|
id: go |
|
|
|
- name: Check out code |
|
uses: actions/checkout@v1 |
|
|
|
- name: Get dependencies |
|
run: go mod download |
|
|
|
- name: Tests |
|
run: go test |
|
|
|
# - name: Version bump |
|
# if: github.ref == "master" |
|
# run: "automatically bump the version here"
|
|
|