Skip to content

Commit

Permalink
senzing-factory/build-resources#15 update go workflow permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
kernelsam committed Jan 26, 2024
1 parent 8f2c4ee commit ee422aa
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/go-test-linux.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Based on
# - https://github.com/marketplace/actions/setup-go-environment

name: go-test.yaml

on: [push]

permissions:
contents: read

jobs:
go-test-linux:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go: ["1.21"]
os: [ubuntu-latest]
name: "go test with OS: ${{ matrix.os }}; Go: ${{ matrix.go }}"
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}

- name: Run go test
run: go test -v -p 1 ./...
File renamed without changes.

0 comments on commit ee422aa

Please sign in to comment.