Skip to content
This repository has been archived by the owner on Jan 21, 2025. It is now read-only.

Exclude btcd #39

Exclude btcd #39 #111

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "./go.mod"
- run: make vendor
- run: make lint
if: ${{ !cancelled() }}
- run: make test
if: ${{ !cancelled() }}
- run: make check-tidy
if: ${{ !cancelled() }}
build-image:
runs-on: ubuntu-22.04
needs: test
env:
TARGET: server
IMAGE_NAME: authgear-nft-server
steps:
- uses: actions/checkout@v4
- run: make build-image TARGET=$TARGET IMAGE_NAME=$IMAGE_NAME
- run: make tag-image IMAGE_NAME=$IMAGE_NAME
- name: Login to Quay.io
if: ${{ github.repository == 'authgear/authgear-nft-indexer' && github.event_name == 'push' }}
uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_ROBOT_TOKEN }}
- run: make push-image IMAGE_NAME=$IMAGE_NAME
if: ${{ github.repository == 'authgear/authgear-nft-indexer' && github.event_name == 'push' }}