Pipeline test update 2
This commit is contained in:
@@ -10,11 +10,16 @@ jobs:
|
||||
# Runs on every push and every PR. Must pass before deploy proceeds.
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: golang:1.23-alpine
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install Go 1.23
|
||||
run: |
|
||||
wget -qO go.tar.gz https://go.dev/dl/go1.23.4.linux-amd64.tar.gz
|
||||
sudo tar -C /usr/local -xzf go.tar.gz
|
||||
rm go.tar.gz
|
||||
echo "/usr/local/go/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: Run unit tests
|
||||
run: go test ./...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user