Fix Bluethumb sponsor information #392
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: pull_request | |
env: | |
DOCKER_IMAGE: '${{ secrets.DOCKERHUB_USERNAME }}/${{ github.event.repository.name }}' | |
jobs: | |
test: | |
name: Linting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel previous runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- name: Checkout repository | |
uses: actions/[email protected] | |
with: | |
submodules: true | |
- name: Set env BRANCH_TAG | |
uses: nimblehq/[email protected] | |
- name: Login to DockerHub | |
uses: docker/[email protected] | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Docker pull | |
if: env.BRANCH_TAG != 'latest' && env.BRANCH_TAG != 'develop' | |
run: docker-compose -f docker-compose.test.yml pull || true | |
- name: Build Docker image | |
run: docker-compose -f docker-compose.test.yml build | |
- name: Docker push | |
run: docker-compose -f docker-compose.test.yml push | |
- name: HTML Linter | |
run: ./bin/docker-test |