Skip to content

Commit

Permalink
review .github
Browse files Browse the repository at this point in the history
Signed-off-by: rjtch <tchuinkoufongue@gmail.com>
  • Loading branch information
rjtch committed Jun 15, 2024
1 parent 654ac38 commit 4db3a93
Showing 1 changed file with 18 additions and 21 deletions.
39 changes: 18 additions & 21 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,38 +9,35 @@ jobs:
build-book-api:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: '1.13.0'

- name: Install dependencies
run: |
go version
go get -u golang.org/x/lint/golint
go-version: '1.21.0'
- name: Key generate
run: make keys
- name: Run build
run: make books-api

# - name: Run Tests
# run: make test


build-metrics:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: '1.13.0'

- name: Install dependencies
run: |
go version
go get -u golang.org/x/lint/golint
go-version: '1.21.0'
- name: Run build
run: make metrics

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: '1.21.0'
- name: Test all
run: make test

0 comments on commit 4db3a93

Please sign in to comment.