Skip to content

chore: update backend workflow #10

chore: update backend workflow

chore: update backend workflow #10

Workflow file for this run

name: backend
on:
push:
branches:
- "**"
jobs:
lint:
name: Lint Code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.23
- name: Lint Code
uses: golangci/golangci-lint-action@v6
with:
version: latest
working-directory: ./backend/
args: --timeout=5m
test:
name: Test Code
runs-on: ubuntu-latest
environment: backend
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.23
- name: Create .env File
run: |
touch .env
echo ATLAS_URI=${{ secrets.ATLAS_URI }} >> .env
echo ENVIRONMENT=Dev >> .env
with:

Check failure on line 37 in .github/workflows/backend.yml

View workflow run for this annotation

GitHub Actions / backend

Invalid workflow file

The workflow is not valid. .github/workflows/backend.yml (Line: 37, Col: 9): Unexpected value 'with'
working-directory: ./backend/
- name: Test Code
run: cd backend && go test ./...