mirror of
https://github.com/aljazceru/nigiri.git
synced 2025-12-17 06:14:19 +01:00
remove travis and add test.yml as GHA (#117)
* remove travis and add test.yml as GHA * Update test.yml
This commit is contained in:
29
.github/workflows/test.yml
vendored
Normal file
29
.github/workflows/test.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
name: Go
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
branches: [master]
|
||||
|
||||
jobs:
|
||||
integration:
|
||||
name: Unit Tests
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set up Go 1.x
|
||||
uses: actions/setup-go@v2
|
||||
id: go
|
||||
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Get dependencies
|
||||
run: go get -v -t -d ./...
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
make fmt
|
||||
make install
|
||||
sudo chmod -R 777 /
|
||||
make test-ci
|
||||
12
.travis.yml
12
.travis.yml
@@ -1,12 +0,0 @@
|
||||
sudo: true
|
||||
language: go
|
||||
go:
|
||||
- 1.14.x
|
||||
services:
|
||||
- docker
|
||||
|
||||
script:
|
||||
- make fmt
|
||||
- make install
|
||||
- sudo chmod -R 777 .
|
||||
- make test-ci
|
||||
Reference in New Issue
Block a user