This repository has been archived by the owner on Jan 3, 2024. It is now read-only.
Bump docker/login-action from 1 to 3 #37
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
GOFLAGS: -mod=readonly | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.18.3 | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Download license information for dependencies | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: make license-cache | |
- name: Check licenses | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: make license-check | |
- name: Check Diff | |
run: | | |
make check-diff | |
- name: Lint | |
env: | |
LINTER_FLAGS: '--timeout 5m' | |
run: | | |
make lint | |
- name: Run tests | |
run: | | |
make test |