Skip to content

Commit

Permalink
chore: Pin github actions in ci job (#2)
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Luz Almeida <[email protected]>
  • Loading branch information
leoluz authored Jun 21, 2024
1 parent 9d87fde commit f3a3a45
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ on:
branches: [ main ]
jobs:
ci:
name: Compile
name: Continuous Integration
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v5
- name: Set up Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # pin@v5
with:
go-version: "1.22"
# see https://github.com/actions/setup-go?tab=readme-ov-file#caching-dependency-files-and-build-outputs
cache-dependency-path: |
go.sum
- name: Check out repo
uses: actions/checkout@v4
- name: Checkout Repo
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4
- name: Get dependencies
run: go mod download
- name: build
- name: Build
run: make
- name: test
- name: Run Unit-Tests
run: make test

0 comments on commit f3a3a45

Please sign in to comment.