mirror of
https://github.com/bolkedebruin/rdpgw.git
synced 2026-09-18 12:19:08 +02:00
Update GitHub Actions versions (#195)
* Update GitHub Actions versions * Fix Go workflow checkout order * Refresh apt metadata before installing PAM
This commit is contained in:
@@ -13,17 +13,19 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v7
|
||||
|
||||
- name: Set up Go 1.x
|
||||
uses: actions/setup-go@v2
|
||||
uses: actions/setup-go@v7
|
||||
with:
|
||||
go-version: ^1.22
|
||||
id: go
|
||||
|
||||
- name: Install pam-devel
|
||||
run: sudo apt-get -y install libpam-dev
|
||||
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v2
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libpam-dev
|
||||
|
||||
- name: Install golint
|
||||
run: go get -u golang.org/x/lint/golint
|
||||
|
||||
Reference in New Issue
Block a user