Skip to content

chore(deps): update actions/checkout action to v4 #233

chore(deps): update actions/checkout action to v4

chore(deps): update actions/checkout action to v4 #233

Workflow file for this run

name: Build & Test
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21
- name: Cache Go modules
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Go vet
run: |
go vet ./...
go vet github.com/theurichde/go-aws-sso/internal
- name: Tests
run: |
go test -v ./...
go test -v github.com/theurichde/go-aws-sso/internal