From a0b36882bbdb7fe03aeab92ed5e96b3534db0973 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=C3=A1n=20C=20McCord?= Date: Wed, 25 Aug 2021 21:37:03 -0700 Subject: [PATCH] customise actions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Seán C McCord --- .github/workflows/go.yml | 10 +++++++-- .github/workflows/master.yaml | 35 -------------------------------- .github/workflows/release.yaml | 37 ---------------------------------- CONTRIBUTORS | 1 + 4 files changed, 9 insertions(+), 74 deletions(-) delete mode 100644 .github/workflows/master.yaml delete mode 100644 .github/workflows/release.yaml diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index c7c19244..97df08ce 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -23,8 +23,14 @@ jobs: with: args: ./... - - name: Build - run: go build -v ./... + - name: Build API + run: go build -v ./ ./stdbus ./rid + + - name: Build Clients + run: go build -v ./client/native ./client/arimocks + + - name: Build Extensions + run: go build -v ./ext/... - name: Test run: go test -v ./... diff --git a/.github/workflows/master.yaml b/.github/workflows/master.yaml deleted file mode 100644 index 680d8d31..00000000 --- a/.github/workflows/master.yaml +++ /dev/null @@ -1,35 +0,0 @@ -name: Master branch push - -on: - push: - branches: [ master ] - -jobs: - - image: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: PrepareReg Names - run: | - echo IMAGE_REPOSITORY=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV - echo IMAGE_TAG=$(echo ${{ github.ref }} | tr '[:upper:]' '[:lower:]' | awk '{split($0,a,"/"); print a[3]}') >> $GITHUB_ENV - - - name: Set up Go - uses: actions/setup-go@v2 - with: - go-version: 1.16 - - - name: GHCR Login - uses: docker/login-action@v1 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: GHCR Push - uses: docker/build-push-action@v2 - with: - push: true - tags: | - ghcr.io/${{ env.IMAGE_REPOSITORY }}:${{ github.sha }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml deleted file mode 100644 index 0008aae8..00000000 --- a/.github/workflows/release.yaml +++ /dev/null @@ -1,37 +0,0 @@ -name: Release - -on: - push: - tags: - - "*" - -jobs: - release: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - - name: Set up Go - uses: actions/setup-go@v2 - with: - go-version: 1.16 - - - name: Docker Hub Login - uses: docker/login-action@v1 - with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - - - name: GHCR Login - uses: docker/login-action@v1 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: GoReleaser - uses: goreleaser/goreleaser-action@v2.6.1 - with: - args: release --rm-dist - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 9dcdfcdd..54bf8ea4 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -11,5 +11,6 @@ Stamkulov Sattar Vipul William Edward Lee mikehall76 +mtryfoss realrainer <18657361+realrainer@users.noreply.github.com> seanchann