Bump github.com/google/go-cmp from 0.5.9 to 0.6.0 #1174
Workflow file for this run
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: Verify | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
# Verify, lint and run tests | |
lint-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install nix | |
uses: cachix/install-nix-action@v15 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19 | |
- name: Install bob | |
run: make install-prod | |
- name: bob login | |
run: bob auth init --token ${{ secrets.BOB_TOKEN }} | |
- name: Install nix derivations | |
run: bob install | |
- name: Check 'go mod tidy' | |
run: bob build gomodtidy | |
- name: Lint code | |
run: bob build lint | |
- name: Build | |
run: bob build --push | |
- name: Set Git author name and email address | |
run: git config --global user.name "builder" && git config --global user.email "builder@bob.build" | |
- name: Run tests | |
run: bob build test | |
- name: Check flake | |
run: nix build |