Skip to content

Commit a1b5e2b

Browse files
committed
♻️YML Refactored.
1 parent 531bb80 commit a1b5e2b

3 files changed

Lines changed: 30 additions & 23 deletions

File tree

.github/workflows/go.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# This workflow will build a golang project
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
3+
4+
name: Go
5+
6+
on:
7+
push:
8+
branches: [ "master" ]
9+
pull_request:
10+
branches: [ "master" ]
11+
12+
jobs:
13+
14+
build:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v3
18+
19+
- name: Set up Go
20+
uses: actions/setup-go@v4
21+
with:
22+
go-version: '1.20'
23+
24+
- name: Build
25+
run: go build -v ./...
26+
27+
- name: Test
28+
run: go test -v ./...

.github/workflows/lint.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

go.mod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ module github.com/knetic0/golinkedin
22

33
go 1.19
44

5+
require github.com/gofiber/fiber/v2 v2.43.0
6+
57
require (
68
github.com/andybalholm/brotli v1.0.5 // indirect
7-
github.com/gofiber/fiber/v2 v2.43.0 // indirect
89
github.com/google/uuid v1.3.0 // indirect
910
github.com/klauspost/compress v1.16.3 // indirect
1011
github.com/mattn/go-colorable v0.1.13 // indirect

0 commit comments

Comments
 (0)