Skip to content

changes to CI: fix file extension #14

changes to CI: fix file extension

changes to CI: fix file extension #14

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Go cache
uses: actions/cache@v2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ github.job }}-${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ github.job }}-${{ runner.os }}-go-
- name: Build
run: go build -v ./...
# turn off linting checks for now until they are resolved, put back later
# lint:
# name: Lint
# runs-on: ubuntu-latest
#
# steps:
# - name: Checkout repository
# uses: actions/checkout@v2
#
# - name: Setup Go cache
# uses: actions/cache@v2
# with:
# path: |
# ~/.cache/go-build
# ~/go/pkg/mod
# key: ${{ github.job }}-${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
# restore-keys: |
# ${{ github.job }}-${{ runner.os }}-go-
#
# - name: Lint
# run: make lint
# create artifacts only on tag push
# artifacts:
# name: Artifacts
# uses: ./.github/workflows/artifacts.yml
# with:
# publish: ${{ github.event_name == 'push' }}
# permissions:
# contents: write
# packages: write
# id-token: write
# security-events: write