Skip to content

Update main_test.go to force error in CI #2

Update main_test.go to force error in CI

Update main_test.go to force error in CI #2

Workflow file for this run

name: Go
on:
push:
branches: [ Aula_4 ]
pull_request:
branches: [ Aula_4 ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Build-DB
run: docker-compose build
- name: Create-DB
run: docker-compose up -d
- name: Test
run: go test -v main_test.go
build:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: go build -v main.go