Skip to content

Commit 219f0af

Browse files
authored
.github: Migrate from Travis to GitHub actions (#121)
1 parent 5210bf9 commit 219f0af

File tree

1 file changed

+22
-8
lines changed

1 file changed

+22
-8
lines changed

.travis.yml renamed to .github/workflows/github-actions.yml

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,27 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
sudo: false
19-
language: go
20-
go:
21-
- 1.14.x
18+
name: Github-Actions
2219

23-
script:
24-
- make all
20+
on: [push, pull_request]
2521

26-
env:
27-
- GO111MODULE=on
22+
concurrency:
23+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
24+
cancel-in-progress: true
25+
26+
jobs:
27+
build:
28+
runs-on: ubuntu-latest
29+
steps:
30+
- uses: actions/checkout@v3
31+
32+
- name: Set up Go
33+
uses: actions/setup-go@v3
34+
with:
35+
go-version: 1.19.x
36+
37+
- name: Run Script
38+
run: make all
39+
40+
env:
41+
GO111MODULE: on

0 commit comments

Comments
 (0)