Skip to content

Commit

Permalink
ci: pin actions versions, fix checkout order
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
  • Loading branch information
sagikazarmark committed Aug 4, 2023
1 parent 9c5e91d commit a441ac7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: CI

on:
push:
branches:
- master
branches: [master]
pull_request:

jobs:
build:
name: Build
runs-on: ${{ matrix.os }}

strategy:
# Fail fast is disabled because there are Go version specific features and tests
# that should be able to fail independently.
Expand All @@ -19,14 +19,14 @@ jobs:
go-version: ['1.16', '1.17', '1.18', '1.19', '1.20']

steps:
- name: Checkout repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3

- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
with:
go-version: ${{ matrix.go }}

- name: Checkout code
uses: actions/checkout@v3

- name: Build
run: go build -v ./...

Expand Down

0 comments on commit a441ac7

Please sign in to comment.