Skip to content

feat: lock auth flow #230

feat: lock auth flow

feat: lock auth flow #230

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@v3
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