Skip to content

Commit

Permalink
Move argocd core to gitops engine repo
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmt committed May 15, 2020
1 parent 2257d23 commit 8430dc0
Show file tree
Hide file tree
Showing 298 changed files with 6,429 additions and 49,742 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/cache@v1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- uses: actions/setup-go@v1
with:
go-version: '1.13.6'
- run: make test
- uses: actions-contrib/golangci-lint@v1
with:
args: run --timeout=5m
env:
GOROOT: ""
- uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }} #required
file: ./coverage.out
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
*.swp
*~
.vscode
.idea
coverage.out
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.PHONY: test
test:
go test ./... -coverprofile=coverage.out

.PHONY: lint
lint:
golangci-lint run
49 changes: 0 additions & 49 deletions common/common.go

This file was deleted.

Loading

0 comments on commit 8430dc0

Please sign in to comment.