Skip to content

Commit

Permalink
setup Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
get-me-power committed Dec 2, 2024
1 parent 76fb6ae commit 5b96656
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
steps:
- run:
name: Install devfarm
command: go get github.com/DeNA/devfarm/cmd/devfarm
command: go get github.com/dena/devfarm/cmd/devfarm
- run:
name: Test
command: devfarm version
Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI

on:
workflow_dispatch:
push:
branches:
- replace/ci
- master
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main

- uses: actions/setup-go@v5
with:
go-version: '1.14'

- name: Install dependencies
run: |
go env
go get -u github.com/go-bindata/go-bindata/go-bindata
# - name: Install devfarm
# run: |
# go get github.com/dena/devfarm/cmd/devfarm
# devfarm version

- name: Build assets
run: go generate ./...

- name: Test
run: ./test/test-all.bash

0 comments on commit 5b96656

Please sign in to comment.