Skip to content

Cookie Security Hotfix #20

Cookie Security Hotfix

Cookie Security Hotfix #20

Workflow file for this run

name: Go Backend Unit Tests
on:
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build Test Docker Image
run: docker build -t jokil/esefexapi:test -f EsefexApi/Dockerfile.test EsefexApi
- name: Run Tests in Docker Container
run: docker run jokil/esefexapi:test go test ./...