Compare commits

...
7 Commits
Author SHA1 Message Date
github-actions[bot]andBot 1a5ca78da5 Update package dependencies + tidy (#41)
Weekly update to the project's package dependencies initiated by an
automatic GitHub Action running on cron. Keeps upgrades less of a
monolithic task and lets security-related patches trickle in more
quickly.

Co-authored-by: Bot <bot@iandavis.com>
2024-03-06 12:00:44 +00:00
Ian Davis 5147d5f6cd Updated github workflows 2024-02-21 10:52:50 +00:00
github-actions[bot]andBot 1971468038 Update package dependencies + tidy (#40)
Weekly update to the project's package dependencies initiated by an
automatic GitHub Action running on cron. Keeps upgrades less of a
monolithic task and lets security-related patches trickle in more
quickly.

Co-authored-by: Bot <bot@iandavis.com>
2024-02-14 09:46:47 +00:00
github-actions[bot]andBot 0d98c9d29d Update package dependencies + tidy (#39)
Weekly update to the project's package dependencies initiated by an
automatic GitHub Action running on cron. Keeps upgrades less of a
monolithic task and lets security-related patches trickle in more
quickly.

Co-authored-by: Bot <bot@iandavis.com>
2024-01-10 10:04:51 +00:00
github-actions[bot]andBot fba0473ccd Update package dependencies + tidy (#38)
Weekly update to the project's package dependencies initiated by an
automatic GitHub Action running on cron. Keeps upgrades less of a
monolithic task and lets security-related patches trickle in more
quickly.

Co-authored-by: Bot <bot@iandavis.com>
2023-11-29 09:04:00 +00:00
Ian Davis d3f130af1c Updated github workflows 2023-11-25 13:56:48 +00:00
Ian Davis f953915e15 Updated github workflows 2023-11-25 13:51:42 +00:00
5 changed files with 9 additions and 37 deletions

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install Go - name: Install Go
uses: actions/setup-go@v4 uses: actions/setup-go@v5
with: with:
go-version-file: 'go.mod' go-version-file: 'go.mod'
+2 -33
View File
@@ -17,7 +17,7 @@ jobs:
submodules: recursive submodules: recursive
- name: Install Go - name: Install Go
uses: actions/setup-go@v4 uses: actions/setup-go@v5
with: with:
go-version-file: 'go.mod' go-version-file: 'go.mod'
@@ -62,41 +62,10 @@ jobs:
submodules: recursive submodules: recursive
- name: Install Go - name: Install Go
uses: actions/setup-go@v4 uses: actions/setup-go@v5
with: with:
go-version-file: 'go.mod' go-version-file: 'go.mod'
- name: Get StaticCheck
if: ${{ matrix.os == 'ubuntu' }}
run: go install honnef.co/go/tools/cmd/staticcheck@latest
- name: Gomod
if: ${{ matrix.os == 'ubuntu' }}
run: |
go mod tidy
if [[ -n $(git ls-files --other --exclude-standard --directory -- go.sum) ]]; then
echo "go.sum was added by go mod tidy"
exit 1
fi
git diff --exit-code -- go.sum go.mod
- name: Gofmt
if: ${{ matrix.os == 'ubuntu' && (success() || failure()) }} # run this step even if the previous one failed
run: |
out=$(gofmt -s -l .)
if [[ -n "$out" ]]; then
echo $out | awk '{print "::error file=" $0 ",line=0,col=0::File is not gofmt-ed."}'
exit 1
fi
- name: Vet
if: ${{ matrix.os == 'ubuntu' && (success() || failure()) }} # run this step even if the previous one failed
run: go vet ./...
- name: StaticCheck
if: ${{ matrix.os == 'ubuntu' && (success() || failure()) }} # run this step even if the previous one failed
run: staticcheck ./...
- name: Test - name: Test
run: go test ./... run: go test ./...
+3
View File
@@ -5,6 +5,9 @@ on:
workflows: ["Run tests"] workflows: ["Run tests"]
types: types:
- completed - completed
branches:
- main
- master
jobs: jobs:
version: version:
+1 -1
View File
@@ -2,4 +2,4 @@ module github.com/iand/microdata
go 1.21.4 go 1.21.4
require golang.org/x/net v0.18.0 require golang.org/x/net v0.22.0
+2 -2
View File
@@ -1,2 +1,2 @@
golang.org/x/net v0.18.0 h1:mIYleuAkSbHh0tCv7RvjL3F6ZVbLjq4+R7zbOn3Kokg= golang.org/x/net v0.22.0 h1:9sGLhx7iRIHEiX0oAJ3MRZMUCElJgy7Br1nO+AMN3Tc=
golang.org/x/net v0.18.0/go.mod h1:/czyP5RqHAH4odGYxBJ1qz0+CE5WZ+2j1YgoEo8F2jQ= golang.org/x/net v0.22.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg=