Skip to content
This repository has been archived by the owner on Feb 25, 2024. It is now read-only.

ci: create initial CI/CD pipeline #6

ci: create initial CI/CD pipeline

ci: create initial CI/CD pipeline #6

Workflow file for this run

name: Main
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup golang
uses: actions/setup-go@v4
with:
go-version: 1.21.5
- name: Checkout code
uses: actions/checkout@v4
- name: Debug
run: |
ls -a
- name: Install dependencies
run: go mod download
- name: Run tests
run: go test -v -json ./...
# run: go test -v -json ./... > test_results_${{ matrix.go-version }}.json
- name: Upload test results
uses: actions/upload-artifact@v4
with:
name: test_results
path: test_results.json