diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 541f0de..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,12 +0,0 @@ -version: 2 -jobs: - build: - docker: - - image: circleci/golang:1.9 - - working_directory: /go/src/github.com/sstarcher/helm-release - steps: - - checkout - - run: go get -v -t -d ./... - - run: git submodule update --init --recursive --remote - - run: go test -v ./... diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..61d82e4 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,23 @@ +name: Build + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/setup-go@v1 + with: + go-version: 1.13 + id: go + + - uses: actions/checkout@v2 + + - run: go get -v -t -d ./... + - run: git submodule update --init --recursive --remote + - run: go test -v ./... + diff --git a/.github/workflows/goreleaser.yaml b/.github/workflows/goreleaser.yaml new file mode 100644 index 0000000..9122fab --- /dev/null +++ b/.github/workflows/goreleaser.yaml @@ -0,0 +1,20 @@ +name: goreleaser + +on: + push: + tags: ['*'] + +jobs: + goreleaser: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - run: git fetch --prune --unshallow + - uses: actions/setup-go@v1 + with: + go-version: 1.13 + - uses: goreleaser/goreleaser-action@v1 + with: + args: release --rm-dist + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml new file mode 100644 index 0000000..28999f7 --- /dev/null +++ b/.github/workflows/stale.yaml @@ -0,0 +1,17 @@ +name: Mark stale issues and pull requests + +on: + schedule: + - cron: "0 0 * * *" + +jobs: + stale: + + runs-on: ubuntu-latest + + steps: + - uses: actions/stale@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + exempt-issue-label: 'exempt' + exempt-pr-label: 'exempt'