Skip to content

dep: upgrading third-party dependency lib #11

dep: upgrading third-party dependency lib

dep: upgrading third-party dependency lib #11

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.20
- name: Install dependencies
run: |
go get github.com/BurntSushi/[email protected]
go get github.com/bwmarrin/[email protected]
go get github.com/golang-module/carbon/[email protected]
go get github.com/nicksnyder/go-i18n/[email protected]
go get github.com/stretchr/[email protected]
go get golang.org/x/exp
go get golang.org/x/[email protected]
go get google.golang.org/[email protected]
go get gopkg.in/guregu/[email protected]
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...