clean up #13
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: Godis Pipeline | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout the code from the repository | |
- name: Check out the repository | |
uses: actions/checkout@v4 | |
# Set up Go environment | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.23.0' | |
# Install dependencies | |
- name: Install dependencies | |
run: go mod download | |
# Build the project | |
- name: Build the project | |
run: go build ./... | |
# Run tests | |
- name: Run tests | |
run: go test ./... -v |