Skip to content

Commit

Permalink
Merge pull request #677 from gopcua/bump-github-actions
Browse files Browse the repository at this point in the history
Update GitHub actions
  • Loading branch information
magiconair committed Aug 22, 2023
2 parents a33e09e + 2350469 commit a140977
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
name: gopuca
on: [push, pull_request]
on:
push:
branches:
- main
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
jobs:
test:
name: Test ${{ matrix.os }} go${{ matrix.go }}
Expand All @@ -10,21 +18,21 @@ jobs:
go: ["1.20.x", "1.21.x"]

steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3

- name: Setup Go ${{ matrix.go }}
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
id: go

- name: Setup Python
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: "3.11.X"
architecture: "x64"

- name: Check out code into the Go module directory
uses: actions/checkout@v1

- name: Get dependencies
run: |
go mod download
Expand Down

0 comments on commit a140977

Please sign in to comment.