Skip to content

Commit

Permalink
update dependencies, add premerge
Browse files Browse the repository at this point in the history
  • Loading branch information
mluffman committed Dec 21, 2023
1 parent ed0e9a0 commit 2dfdf3d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/premerge.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Unit tests, lint, and build

on:
pull_request:
branches: [ "master" ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'

- name: Build
run: go build -v ./...

- name: Test
run: go test -v ./...

- name: Lint
run: pre-commit run --all-files
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/thought-machine/spot-interruption-exporter

go 1.20
go 1.21

require (
cloud.google.com/go/compute v1.23.3
Expand Down

0 comments on commit 2dfdf3d

Please sign in to comment.